Fn Key lock - HP keyboard - Rocky 9.7 - HP Z8

Hello

Is there a way to attribute fn key lock to a keyboard that does not seem to have it? I cannot find a way to add fn & esc as a special key in the flame. I have looked through the Z8 BIOS but can’t find anything. HP is very inconsistent on this keys attribution from what I can see on web. Maybe there is a way to attribute it at the OS level?

Any thoughts are most welcome. Thank you