To use F1 to F12 without holding Fn, turn on Fn Lock. On many laptops, including Lenovo models, you press Fn + Esc once to switch it on, and press it again to switch it off. For a permanent change, set the hotkey or action key mode in your laptop’s BIOS so the F keys work directly. If your keyboard has no F-key row at all, use the Windows On-Screen Keyboard or plug in an external keyboard.
This guide covers Fn Lock, the BIOS setting for Lenovo, HP and Dell laptops, what to do when your keyboard has no Fn key or F row, and how to fix the common problems.
Why your F keys need Fn in the first place
On most laptops the top row does two jobs. Each key has a hotkey action, like volume, brightness or mute, and an F key function. Lenovo puts it simply: hotkeys share keys with the function keys, F1 to F12. Many laptops ship with the hotkey action as the default, so pressing F5 might change the brightness instead of refreshing a page. You hold Fn to get the F key.
F keys still matter in Windows. Microsoft’s list of keyboard shortcuts in Windows says F2 renames the selected item, F5 refreshes the active window, F10 activates the menu bar, and Alt + F4 closes the active window. If you use these a lot, it makes sense to flip the default.
Which method do you need?
| Your situation | Best method |
|---|---|
| You need an F key once in a while | Hold Fn and press the F key |
| You want F1 to F12 as the default, quickly | Fn Lock (often Fn + Esc) |
| You want the change to stick for good | BIOS hotkey or action key mode |
| Your keyboard has no Fn key or no F row | On-Screen Keyboard or an external keyboard |
| Your external Dell keyboard sends media keys | Fn + Esc on the keyboard |
Method 1: Turn on Fn Lock
Fn Lock is a switch built into the keyboard. When it’s on, the top row sends F1 to F12, and you hold Fn for volume and brightness instead. Lenovo’s keyboard guide for Yoga laptops describes FnLock as “an electronic switch that affects how you use hotkey functions” and says: “To turn it on and off, press Fn + Esc.”
- Look at your Esc key. If it has a small padlock icon on it, it’s probably your Fn Lock key.
- Hold Fn, press Esc once, then let go of both. You don’t need to keep holding anything. Fn Lock is a single press that toggles on or off.
- On Lenovo laptops with FnLock, a light on Esc shows whether it’s on.
- Test it: press F5 in a browser. If the page refreshes, the F keys are now the default.
- To go back, press Fn + Esc again.
Two things to know. First, the combination isn’t the same on every laptop. If Esc has no icon, look along the top row for a key with a padlock and press it with Fn. Second, Fn Lock only changes the top row. Lenovo notes that “the FnLock switch does not apply to hotkeys not found in the first row of the keyboard.”
Method 2: Change the hotkey mode in the BIOS
If your laptop has no Fn Lock key, or Fn Lock keeps resetting, change the setting in the BIOS (also called UEFI or firmware setup). This changes the default for every app, every time the laptop starts. The menus differ by maker, so find yours below.
Lenovo laptops
Lenovo calls the setting Hotkey Mode. Lenovo’s guide to hotkey mode on IdeaPad laptops explains it: when Hotkey Mode is Disabled, the F keys work directly and you press Fn for the hotkeys. When it’s Enabled, it’s the other way round. The same page says pressing Fn + Esc can also turn hotkey mode on or off.
These steps come from Lenovo’s UEFI/BIOS guide for Yoga 7 laptops:
- Restart the laptop. When the Lenovo logo appears, press F2 repeatedly. If hotkey mode is currently enabled, press Fn + F2 instead.
- Select Configuration > Hotkey Mode and press Enter.
- Change the setting to Disabled to make the F keys work without Fn.
- Select Exit > Exit Saving Changes.

HP laptops
On most HP notebooks, HP’s support document puts the option under System Configuration > Action Keys Mode in the BIOS Setup Utility, which you open by pressing F10 at startup. Some business models use a different menu, and some HP keyboards also have a Fn Lock key. Our guide on how to disable the Fn key on an HP laptop walks through both, with tips for models that work differently.
Dell laptops
Dell’s BIOS menus vary by model, and the label for this setting does too. Check the BIOS for an option that mentions Fn Lock or function keys, or look in your laptop’s manual on Dell’s support site. If you use a Dell external keyboard, see the external keyboard section below; it has its own switch.
Other laptops
Look in the BIOS for a setting that mentions hotkeys, action keys, function keys or Fn Lock. It’s often on a configuration, advanced or keyboard tab. Change only that setting, then save and exit.
For another walkthrough of switching the F keys, see how to change function key settings in Windows 11.
Method 3: Your keyboard has no Fn key or no F row
Some compact keyboards and tablets with keyboard covers have no F-key row. If that’s you, there’s no Fn Lock to press. Try one of these instead.
Use the On-Screen Keyboard
Windows 11 and Windows 10 include an On-Screen Keyboard you can click with the mouse or tap. Microsoft’s guide to using the On-Screen Keyboard gives these steps for Windows 11. On Windows 10, the same toggle is under Settings > Ease of Access > Keyboard.
- Open Settings > Accessibility > Keyboard.
- Turn on the On-Screen Keyboard toggle.
- Check the keyboard for an Fn key or an F key row. If you see one, select it to reach the F keys. The layout can vary, so look around the keys before you rely on it.

You can also open it from the sign-in screen with the Accessibility button in the lower-right corner. It’s slow for regular use, but it’s handy when you need one F key and nothing else will do.
Plug in an external keyboard
A full-size USB or Bluetooth keyboard with an F-key row solves the problem for good. Some external keyboards have their own Fn Lock, separate from your laptop’s.
Dell’s guide to multimedia and function keys on Dell external keyboards says: “To swap the Primary and Secondary functions, press FN + Esc.” Dell lists which keyboards start with media keys as the default (KB500, KB700, KB740, KM5221W, KM7120W and KM7321W) and which start with F keys (KB216, KM117 and KM3322W). This applies to Dell’s external keyboards, not to the built-in keyboard on Dell laptops.
Troubleshooting
Fn + Esc doesn’t do anything
Your laptop may use a different key, or none. Look for a padlock icon on the top row. If there isn’t one, use the BIOS method. Make sure you press the keys once together rather than holding them.
The F keys go back to media keys after a restart
If Fn Lock doesn’t stay on after a restart on your laptop, change the setting in the BIOS instead, and make sure you save before you exit (on Lenovo, Exit > Exit Saving Changes).
You can’t find the setting in the BIOS
Check every tab, because the label and location vary by maker. If the option isn’t there, a newer BIOS may add it. Get BIOS updates only from your laptop maker’s own support site, and keep the laptop plugged in while it installs.
Only some keys changed
That’s expected. Fn Lock and hotkey mode only affect keys that have an F function, mostly the top row. Keys elsewhere keep working the same way.
You can’t get into the BIOS
Tap the setup key as soon as you press the power button, and keep tapping until the menu appears. On Lenovo, that’s F2 at the Lenovo logo, or Fn + F2 if hotkey mode is enabled. Other makers use different keys, so check your laptop’s manual.
Questions
Is Fn Lock a key I have to hold down?
No. Fn Lock is a toggle. Press the combination once (often Fn + Esc) to turn it on, and once more to turn it off. Lenovo’s guide says the same: “To turn it on and off, press Fn + Esc.”
Does every laptop have a BIOS?
Windows laptops do. They have firmware setup, usually called BIOS or UEFI. What varies is whether it includes a hotkey or action key option. If yours doesn’t, holding Fn, Fn Lock or an external keyboard are your options.
Is it safe to change the hotkey setting?
Changing this one setting only affects how the top row behaves, and you can change it back the same way. Don’t change other BIOS settings unless you know what they do. If you’re unsure what you touched, exit without saving and start again.
Matt Williams is the writer and editor behind TechInfoHome. He holds a degree in computer science and has more than 10 years of experience working in IT. For the past 5 years he has written online tutorials for Windows, Microsoft Office, Google apps and iPhone, with a focus on clear steps that get readers to a working fix quickly.