Hi Peter,
1
Ensure your system is connected to the Internet, if you are using WiFi, try connecting an Ethernet cable to test if you can then log into Windows.
2
If that does not resolve the problem, if you are still blocked by a password in the Recovery Environment, then you will need to create a bootable Windows 10 USB on an empty 8GB USB flash drive 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, try each available recovery option.
Click this link: https://www.microsoft.com/software-download/windows10
to download the Media Creation Tool (Click on Download Tool Now), with that you can create a bootable USB flash drive (min 8GB) using that tool.
Then, Boot your PC from the Installation Media you just created.