Hi,
Kayece here. I am an Independent advisor and a user just like you. I will be happy to assist you today.
I understand that you were locked out of your PC for two hours before you could access it. It appears that a policy has been set on your computer that locks your account for two hours after multiple failed password attempts.
The most straightforward approach is to wait for the Lockout Time to expire, however, I understand that waiting can be inconvenient. Instead, you can follow the methods provided by users in the links below to resolve accounts that are locked out for two hours.
https://answers.microsoft.com/en-us/windows/for...
https://www.reddit.com/r/Winsides/comments/1g14...
I hope this helps. If you need more assistance, please let me know.
Stay Safe!
Disclaimer: There are links to non-Microsoft websites. The pages appear to provide accurate and secure information. Watch out for ads on websites that may advertise products that are often classified as PUPs (Potentially Unwanted Products). Thoroughly research any product advertised on websites before deciding to download and install it.