https://sangkrit.net/prevent-brute-force-attacks-disable-username-force-email-login-enable-automatic-lockdown-in-your-wordpress-site/
Prevent Brute Force Attacks: Disable Username, Force Email Login & Enable Automatic Lockdown In Your WordPress Site