Hello, thank you for reaching out to Microsoft Q&A.
May I please know if you were able to sign in to your device after doing the System Reset?
Go to Start > Settings > Accounts > Sign-in options.
Turn off the toggle for "For improved security, only allow Windows Sign-in for Microsoft accounts on this device (recommended).
If the option is disabled, and next time when you are installing an update and are asked to wait for 2 Hours due to repeated shutdowns, you can switch the sign-in option from PIN to Password, and then see if you can sign in. (This will enable the Password Sign-in option on your lock screen.) You can sign in with your Microsoft account password here.
Another option you can try is resetting your PIN from the lock screen. After resetting it, you should be able to sign in.
Additionally, consider other recovery options such as System Restore, Startup Repair, or resetting your PIN from Safe Mode before resorting to a full factory reset of your PC.
If you are currently stuck on the Windows sign-in screen, please let me know.