Connect a cheap hardware programmer (like a CH341A USB programmer) to the chip using an SOP8 clip.
Reconnect the CMOS battery and reassemble the laptop. The BIOS password should be reset. Essential Post-Reset Steps hp zbook 15 g5 bios password reset free
Before attempting any troubleshooting, it is essential to understand the underlying hardware security architecture. Connect a cheap hardware programmer (like a CH341A