On a MacBook Pro, “Fn lock” is usually turned on by setting the top row to act as standard function keys, not by a separate physical lock key. Go to System Settings > Keyboard > Keyboard Shortcuts > Function Keys, then turn on “Use F1, F2, etc. keys as standard function keys.”

What that changes

With that setting on, the top row sends F1, F2, and so on by default, and you hold Fn only when you want the special Mac actions like brightness or volume. On some Mac keyboards, the key may be labeled Globe instead of Fn, and Apple notes that behavior can vary by model.

Quick steps

  1. Open System Settings.
  1. Click Keyboard.
  1. Open Keyboard Shortcuts.
  1. Choose Function Keys.
  1. Turn on Use F1, F2, etc. keys as standard function keys.

If you do not see it

If your MacBook Pro is using an external keyboard or a different macOS layout, Apple says the wording may differ slightly, but the same idea applies: set the function row to standard function behavior in Keyboard settings.

Note

MacBooks do not usually have a separate “Fn Lock” key like some Windows laptops, so the setting in Keyboard preferences is the normal way to get the same result.

TL;DR: turn on Use F1, F2, etc. keys as standard function keys in Keyboard settings.