Once you’re back in, take these steps to ensure you never get locked out again:
A Command Prompt will open. Type: net user [username] [newpassword] and hit Enter. 3. Use the Built-in Administrator Account
Restart your PC and cut the power (or hold the power button) while Windows is booting to trigger .