For BIOS or power-on password resets, because the password is encoded onto a chip on the motherboard, replacement of that motherboard is required. For more information, read this HP thread: https://support.hp.com/us-en/document/c06368824.
If you are not prepared to spend the money to get HP to replace the motherboard, you would have to take the PC to a local repair facility to see if they can do it for you -- we can not assist in that in any way.
***If my post helped, click the 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
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".