How to lock or unlock a root and normal user account using pam_tally2 and pam_faillock after certain number of failed login attempts in Linux - GoLinuxHub
Locking and Unlocking Users | AlertSite Documentation
How to set user password expirations on Linux | Enable Sysadmin