Why didnt you just create a Local admin User account , so easy solution
Here's a step-by-step guide:
- Open Settings: Click the Start button and select Settings.
- Go to Accounts: Click on "Accounts" in the left-hand menu.
- Navigate to other users: Click on add account and click on I don't have this person's sign-in information
- click on Add a user without a Microsoft account
- type a name and leave password blank or create one if want. then
- click arrow next to account and click Change Account Type change standard to Admin . From what i understand this will be fixed in the next major release of windows weather its version 11 25h2 or 12,, meaning windows is adding option to add a cell number the 1st time you set up the computer, so if you get locked out it will txt you a code to get in,, you can set this up now but only if you know about it .here link on how to set it up ,, also create a 2nd local account to be sure can get back in without internet etc,
How to use two-step verification with your Microsoft account - Microsoft Support