You go to account.microsoft.com
-> you lock your laptop from there
Surprise. After the lock, there is no unlock button. You’re cooked.
AND MS SUCKS!
However, those little brained fools from Microsoft say you should go to the laptop and sign in with the root username and password.
Surprise: during Windows install it made you use your microsoft account for a computer user. This creates a whole new world of problems inside the operating system files.
They deploy a fricking update that ruins the PIN and the PIN vault in your computer. You can’t deactivate the fucking Hello signing. Windows Hello.
When you have to enter username and password: though shit! There is no username and password. Two profiles get displayed. Click on any of them: and you will see that only a “Sign In” button appears. Click on it, and your screen will get locked.
Keep repeating this loop to infinity and nothing ever happens.
So the only real way to stop this madness is to begin hacking your instalation of Windows.
A few command prompts to delete the registries that keep Windows Hello active.
Some paths in the registries to delete or modify or change permissions, so that Windows can no longer verify with the cloud account. You basically break the connection.
That will also keep windows from locking your laptop again from the cloud.
A bit more hacking, and you’ll also be able to force windows to display the fields for username and password.
Tons of hours of work to get all this done, depending on Windows 11 versions and update packs.
But if you DO want to use your computer again without losing all your files, hacking your own laptop is the way to go, because Microsoft hates the market and the clients.