Password unlocker for Windows 10?

Got an attacked by virus and now I am completed locked out of my computer. It seems my initial password was changed and can't login now.
maybe you can use windows recovery ? You will need an windows install on an USB stick. There´s a way you can restore your pc to an earlier point, etc before virus.
You try this one
First restart the computer & wait until login screen appear
Then press the Shift key 5 times to enable super administrator account
Then enter into your computer using the SAC account and head to Control Panel
Finally change the password of your present locked out account & save the changes. Reboot the computer & login with the new password.