Mr. White has asked the question that must be answered: Make and model of the computer?
There are some makes, Lenovo springs to mind, where the changes to turn off media keys/action keys/hot keys (or whatever that maker calls them) can be done outside of BIOS/UEFI and without sighted assistance.
For most, and unless something has changed I know for HP, it must be done in BIOS/UEFI and requires sighted assistance.
Brian - Windows 10, 64-Bit, Version 21H2, Build 19044
Here is a test to find out whether your mission in life is complete. If you’re alive, it isn’t.