Hi, I am Dave, I will help you with this.
The actions associated to the function keys are not controlled by Windows, they are usually controlled by a utility installed by the laptop manufacturer.
If the F9 and F10 are not working on their own, if you press Fn + F9 and Fn + F10 to see if they work.
If either works, try pressing Fn + Esc to turn off the function lock on your keyboard.
Otherwise, boot your laptop into BIOS, and search in there for a toggle to switch between Function and Action/Media Keys.
Otherwise, try the other options HP provide on this link:
https://support.hp.com/id-en/document/ish_58783...
________________________________________________________
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
.