If you have lost the BIOS password, you have two primary options.
Flashing a new BIOS version over Windows or F.10 Update will NOT erase the password region. You must clear it first, then update. hp elitebook 850 g8 bios password reset upd
If all else fails, mainboard replacement is the manufacturer‑approved solution for locked units. If you have lost the BIOS password, you
Restart the laptop and enter the generated unlock key exactly as shown. Method 3: Hardware Reset (Advanced Users) then update. If all else fails
HP Notebook PCs - Recovering the BIOS (Basic Input Output System)