lock - Requests and verifies a user password
command requests and reads a password from
a user, then requests the password a second time to verify it.
Sets the time-out period to
minutes. The default value is 15 minutes.
The lock command then locks the terminal and does not relinquish it until the password is received again, unless one of the following occurs: The root password is entered. The time-out interval is exceeded. The command is killed by a user with appropriate permission.
The time-out default value is 15 minutes, but this can be changed with
To lock a terminal, enter: lock