I had a neighbor get completely locked out of a laptop after a Windows update due to this. They didn’t have the password or phone number to the Microsoft account. Of course, you can’t send a password reset email to the account you’re locked out of. I couldn’t figure out how to reverse it converting a local account into a cloud one.
There’s probably a way but I haven’t troubleshooted a Windows problem since 2008.