Account lock after entering wrong password multiple times.

When the admin tries to enter wrong credentials in the account, the account gets locked and get a text message that your account is locked and please contact your administrator. Also receive the mail for account locked.