It could also just be buggy firmware. I had an HP 4530s and anytime I quickly typed the sequence “oun”, the chrome developer tools would pop open (something low level was translating that sequence into F12).
Turns out this was a known issue and there was a bios update which specifically fixed it. https://forums.tomsguide.com/threads/f-keys-activate-from-ty...