Hello,
Try to reset it with an installation media.
Create a Windows 10 installation media on a USB flash drive (8 Go min) from this website after careful reading of the instructions on it.
https://www.microsoft.com/en-us/software-downlo...
Then connect the W10 installation USB flash drive to your PC, next start your PC and immediately press the required key (see note (1) at the end of the message) to access the boot menu and select the USB flash drive to boot on it.
Connect the installation media you created to your nonfunctional PC, and then turn it on.
On the initial setup screen, enter your language and other preferences, and then select Next.
Select Repair your computer.
On the Choose an option screen, select Troubleshoot.
Select Reset this PC to reinstall Windows 10.
Select the option Remove everything.
(1) The access key to the boot menu depends on the manufesturer and model of your PC, look at the list below
https://www.sysnative.com/forums/hardware-tutor...
Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Do not hesitate to ask for additional explanations in case of difficulty.
Keep me informed.