Information
The deny=<n> option will deny access if the number of consecutive authentication failures for this user during the recent interval exceeds.
Locking out user IDs after n unsuccessful consecutive login attempts mitigates brute force password attacks against your systems.
Solution
Create or edit the administrator customization file /etc/security/faillock.conf and set the deny option to 5 or less:
deny = 5
Example
# printf '%s\n' "" "deny = 5" >> /etc/security/faillock.conf