You could try this:
Part 1. Bypass Windows 10 login password using Command Prompt
Yes, the old schooled command prompt can be still used to modify the system files that will help to bypass the Windows 10 login password. This part is very tricky, so pay close attention and follow exactly like we will mention.
Step 1. Power on your locked computer and on the login screen, press the Shift key more than 5 times.
Step 2. The command prompt window will launch automatically with all administrator privileges.
Step 3. Now type the following code as it is to reset the password your PC.
NET USER ADMINISTRATOR zzz
windows 10 login password
And press Enter. Remember, “zzz” refers to the password you are setting for your computer, so make sure to remember it.
Step 4. Restart computer and login using this password.
All set! You can now successfully login to your computer again.
Cons –
Cannot reset password if you have no admin privilege over command prompt.
Only works with local user accounts, not with root accounts which is the default account setup in Windows 10.