Windows has no control over the actions associated to the function keys (F1 - F12) on your keyboard, that is always controlled by the laptop manufacturer, because the actions vary from laptop to laptop.
If Fn + Esc does not toggle off the function lock, boot your system into BIOS, then in there search for a setting to toggle between Function keys and Action/Media keys.
If you are unable to find that setting, I need some information about your laptop model, click your Start Button, then just type msinfo and press Enter, please provide a screenshot of the resulting System Information window.