lock the Fn key in the sense that you will use the function keys(F1,F2,F3..)+FN key combinations without using the FN key then the simple way of locking the FN key is boot into the bios using F10 key on startup that is used on most hp laptops then in the bios screen select the option system configuration. under system configuration you will find something as action mode keys and make it
Press and hold the Power button for at least five seconds to turn off the computer. Turn on the computer and immediately press the f10 key repeatedly to open the BIOS Setup Utility. Press the right or left arrow key to select the System Configuration menu. Press the up or down arrow key to select Action Keys Mode.To turn off the Fn lock on an HP laptop, you can try the following steps: 1. Locate the Fn Lock Key: Look for the "Fn Lock" or "FnLk" key on your HP laptop's keyboard. This key is usually located in the lower-left corner of the keyboard, next to the left Ctrl key.
Enable or disable fn (function) or action keys mode (HP ProBook 440 G5, 450 G5, 470 G5, and HP EliteBook 830 G5, 840 G5, 850 G5) Change the fn (function) key setting on certain HP ProBook and EliteBook business notebooks. Press fn and the left shift key at the same time to enable fn (function) mode. When the fn key light is on, you must press
Press the right or left arrow key to select the System Configuration menu. Press the up or down arrow key to select Action Keys Mode. Press the Enter key to display the Enabled / Disabled menu. Press the up or down arrow key to select one of the options. Enabled: Does not require pressing fn to use the actions printed on the function keys.