Hi, I am Dave, I will help you with this.
This s a common problem if you use a Microsoft account login, it is not recognized in the Recovery Environment.
If you are blocked by a password in the Recovery Environment, then, you will need to create a bootable Windows 10 USB on another working PC and boot your PC from that, then rather than installing Windows 10, select ‘Repair this Computer’ that will give you access to the Recovery Environment from there
In the Recovery Environment on the USB, you will not be blocked by a password.
Click this link:
https://www.microsoft.com/en-us/software-downlo...
to download the Media Creation Tool (Click on Download Tool Now), with that you can download the latest Windows 10 ISO (Select Create Installation Media for Another PC), you can create a bootable USB flash drive (min 8GB) using that tool
Then, Boot your PC from the Installation Media you just created (change Boot Order in your BIOS)