There are generally only two legitimate methods to remove an unknown BIOS password:
HP recommends replacing the system board (motherboard) to resolve a forgotten password. hp zbook 15 g5 bios password reset