When a user account is locked, the account cannot be accessed. In other words, no one can use that account to log in to the system. User accounts may be locked automatically by the system for a variety of reasons; a common reason is that the user repeatedly attempts to log in with the wrong password.
You can lock or unlock the account of any user for whom you have administrative responsibilities.
To lock a user account: