ok....progress.....this bios password is a separate issue than your corrupted files. this can be cleared by opening the unit, removing the cmos, and shorting the positive and negative terminals. can find a guide here:
https://www.techwalla.com/articles/how-to-clear-cmos-on-hp-laptops
if this does not clear the bios password, you will need to remove the bios chip and read and clear with a chip reader/writer. if you do not have these tools, a local technician should be able to do this for you, for a nominal fee.