Possible to use screen lock as timeout?

view full story

http://askubuntu.com – What I'd like to do is lock the screen and have it wait a set amount of time (eg 20 mins) before it lets me log back in - so I make myself to have a break from the computer. Is it possible to do this? Thanks (HowTos)