Turn on the laptop and repeatedly press the ESC key to open the Startup Menu, then press F10 for BIOS Setup.
Entering the wrong password 3 times triggers a "System Disabled [code]" lock requiring a factory reset from HP. hp elitebook 840 g6 bios password reset work