To install xautolock just follow these instructions.
sudo apt-get install xautolock
Which will install xautolock and any other packages on which it depends.
|Maintainer||Wei Liu <email@example.com>|
|Description||Program launcher for idle X sessions program of your choice if there is no activity after a user-configurable period of time. You can use this to automatically start up a screen locker if you have left your computer unattended for some period of time. The program launched need not be a screen locker such as xlock.|