Lock a user account – Explicitly – assign user to a login policy in which the LOCKED option
is set to ON.Implicitly – assign user to a login policy in which the
MAX_FAILED_LOGIN_ATTEMPTS option is set. If the user exceeds the set value
when attempting to log in, the user account is locked.