To disable special keyboard keys via registry on Windows 10 go to HKLM:\\SYSTEM\\CurrentControlSet\\Services\\hidserv and change "Start" DWORD value to 4. Once you restart the system, special function keys should be disabled.