The function lock is actually "smart" even though they don't document it properly, it is actually a toggle and hotkey in one.
Whenever you hold the function key and hit another key while holding function, then release function it will stay in the mode you started in.