If you previously configured , you can reset the password yourself:
(last resort)
Removing the coin-cell battery or performing a hard reset will clear the BIOS password on this model, as it is stored in non-volatile memory. Brute Force (BCU) Very Low hp elitebook 840 g6 bios password reset utility work