If your Windows 10 user account is currently a Microsoft account (by your choice or because you got, one way or another, roped into it) it's easy to revert it back to a local account if you know where to look.
www.howtogeek.com
but when i click on “Sign in with a local account instead”. it says A PROBLEM HAS OCCURED