pxl is a shell script that calls xlock at a specific interval. pxl stands for periodic xlock.
It only takes one parameter, which is seconds.
Below is the example, if you would like to lock your computer screen every 10 minutes.
pxl -t 600
The source code is written in the literate programming style. See DOCUMENTATION/pxl-design.org.
pxl is licensed under GPL version 2.