Hello,
It seems like you accidentally locked your device using the "Find My Device" feature in Windows. This feature helps protect your device if it gets lost or stolen. When this happens, Windows blocks your sign-in to keep your data safe from strangers.
Because of this, you might see an error message that says:
"An administrator has restricted sign-in. To sign in, make sure your device is connected to the Internet and ask your administrator to sign you in first."
Unfortunately, without resetting your PC to factory defaults, you won't be able to log in to your device again. To do this,
- Turn on your Computer.
- When you see your PC Manufacturer's logo or the Windows logo, turn off your computer by holding down the power button on your laptop.
- Repeat the same process 2-3 times.
- Next time, allow your PC to fully boot into the WinRE environment. (Windows Recovery Environment)
From WinRE,
- Select Troubleshoot > Reset this PC > Remove everything and proceed with Local reinstallation.
Note -
Running System Recovery will restore your PC to factory defaults and completely wipe all the data on your HDD.