Go to sleep after lock

Is there a way to go to sleep after specified time, after the screen is locked? I don’t see an option in settings, I don’t think its implemented though.

you need to manually coordinate the timers between

settings > screen locking

and

settings > power management

i usually set my screen locking pretty short (say 10min)

then my sleep a time after that (say 20min)

so, effectively my machine goes to sleep 10min after the screen locks.