Hi Thomas
Please try the following . .
Open the Settings App
Go to Update & Security - Troubleshoot
Run the Keyboard troubleshooter
If that does not resolve this for you
Open Device Manager
Expand the Keyboards section
Right click your keyboard and choose 'Uninstall'
Then restart your PC
If the above does not resolve this issue, and seeing as that does not happen on your other keyboard, it maybe time to replace your keyboard, because this is then most likely a hardware issue . . .
Thanks for your advice!
The keyboard troubleshooter didn't find anything.
I tried uninstalling the device and restarting and it didn't work.
However, I plugged a USB keyboard and the issue did not happen.
And when I unplugged the keyboard, the issue didn't reappear with my laptop keyboard.
Plugging/unplugging an external keyboard might have fixed/reset something with my settings. I hope it will last!