Sometime if admin user is locked out, and we cant login at admin side. We receive the error message “User is locked”.

Use this command to unlock the admin user.

php magento admin:user:unlock {admin user name}