This is NOT a criticism directed at YOU, but I really wish folks would quit routinely doing Factory Resets in attempts to repair an ailing PC. Not only does is rarely fix the PC, if there is an underlying hardware issue with the PC, it will make matters worse by leaving the PC in an unusable state -- which is what it has done to yours.
The HP Factory Reset function relies critically on the contents of the Recovery partition being intact. If those contents get corrupted, which can happen either due to hard drive failing or due to Win10 Upgrade from an older OS, the reset simply will not work.
If not, you have to follow these steps: 1) Press Esc key repeatedly, several times a second, while rebooting the laptop. Do NOT hold the key down, just press it over and over. 2) Eventually, you will see an HP Startup Menu -- that will look similar to the image below ... 3) press the Function key for testing the hard drive (usually F2) and let it run.
Please report back the test results.
***If my post helped, click the White thumbs-up symbol to say thanks***
***Please mark Accept As Solution if my post solved your problem***
I am a volunteer and I do not work for, nor represent, HP