Press and hold the power button until the computer turns off. Then, you should be able to reboot. It sounds like the BIOS didn't like the settings that you were attempting to enter. Although, it should have simply rebooted without making the changes.
Please click the Thumbs up + button if I have helped you and click Accept as Solution if your problem is solved.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".