Answer

If you’ve signed in Windows 10 with Microsoft account, but wanted to sign in with local account and remove Microsoft account on local system, please refer the guide in attached file.

Reference