If you have, unfortunately, locked out of the laptop or computer and can not access the system anymore, you will press the power button from the login screen, and so, you will also keep pressing the shift button and then troubleshoot. Now, go to Reset this PC option, and there you are!