Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can I set up Ubuntu 14.04 to automatically go to the lock screen after a certain time period regardless of activity? (ie to child-lock a machine so s/he's not glued to it all night)
Have you tried TimeKpr? It appears to allow you to limit access by time, but I've not tried it personally:
sudo add-apt-repository ppa:mjasnik/ppa
sudo apt-get update
sudo apt-get install timekpr
Required, but never shown