lock -- reserves a terminal
lock [-n] [-p] [-t timeout]
lock requests a password from the user, reads it again for verification and then will normally not relinquish the terminal until the password is repeated. There are two other conditions under which it will terminate: it will timeout after some interval of time and it may be killed by someone with the appropriate privileges.
All of the specified options are optional.
The BSD version of the lock command supports using an S/Key to lock the terminal.
The Perl implementation of lock was writtem by Aron Atkins, atkins@gweep.net.
This program is copyright by Aron Atkins 1999.
This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.