I put lock on for two months
That’s not a WordPress feature.
Assuming it’s a plugin, you might be able to get in by deleting that plugin.
Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/plugins/ and delete the offending plugin’s directory.
Then, I recommend contacting that plugin’s support.
You might be able to reinstall and activate the plugin after you log in, but if it locks you out again, just repeat the process.
Also, keep in mind that attempts to login in as the site’s user are common, but a good password will always keep them out and they will forever remain just attempts and nothing more, and you may want to implement some (if not all) of the recommended security measures and start backing up your site.