How do I set a new password when I am locked out of my computer.
Exactly why many of us maintain a second admin account on our systems that is strictly a local account and not associated with any On Line Presence.
You might be able to rescue your computer by enabling the normally hidden / disabled Administrator account and use that to possibly fix the password problem on your local user account.
You'll need to boot from the installation media. If you do not have the installation media on hand you can download the ISO from here
Once you have the ISO, you can use ImgBurn to burn it to a DVD,
http://imgburn.com/ (dual layer burner and media required)
or Rufus to burn it to a USB ThumbDrive,
http://rufus.akeo.ie/ (8 gig more than adequate)
either of which you can use to boot your computer.
THEN...
Follow the steps outlined here
To RESET ACCOUNT PASSWORD on Windows 10, boot PC with USB media, rename utilman to cmd, enable local admin account, and reset password.
pureinfotech.com
It's generally simple and straight forward if you follow the step by step instructions, including how to undo your changes after you're done.
I've used it before and I know that it works however I've since moved on to a third party commercial product