I'm not sure why but my 0 key on the number pad stopped working with seemingly no cause. If you need any more info, let me know. I just bought a new keyboard and it is having the same issue.
I currently have the Razer Blackwidow Ultimate 2016 and previously I had the Logitech G105. As far as I can tell it doesnt have a function lock but it does have a function key.