Hello,
For anyone else looking and especially for new laptops:
Ryzen with the ZEN feature have problems with keyboards due to acpi IRQ management. Please look at this thread
https://bugzilla.kernel.org/show_bug.cgi?id=217394
Ultimately if a kernel update didn't fix your issue already, please...