Open the Settings App.
Go to Accounts - Your Info.
On that Settings window, do you have either the option to 'Switch to a Local account', or an option to 'Stop automatically logging into apps with this account'.
If either option exists, select it.
That will switch your Windows login to a Local account, then you can add back your Microsoft account details.