LOCK(1) — Unix Programmer’s Manual
NAME
lock − reserve a terminal
SYNOPSIS
lock [ −number ]
DESCRIPTION
Lock requests a password from the user, reads it again for verification, then locks the terminal until the user enters the password. There are three other conditions under which lock will release a terminal:
• Lock accepts the root password for root as an alternative to the one given by the user.
• Lock will timeout after some interval of time (15 minutes, by default).
• A user will the appropriate permission can kill lock’s process.
Normally, lock will time out after 15 minutes.
OPTIONS
−number Sets the time limit for lock to number minutes, instead of the default 15.
3rd Berkeley Distribution — May 7, 1986