Insert the USB into the locked computer and change the boot order in the BIOS/UEFI settings to start from the USB.
Install the software on a working PC and "burn" the recovery environment to a USB flash drive.
Delete old Windows accounts or create new Admin accounts without logging in.
Once the interface loads, select your Windows OS, pick the user account, and choose whether to reset, remove, or create a new login. Why Version 7.1.0.8?