New OS install on lenovo ideapad 3 slim - sleep breaks keyboard

I have found this https://unix.stackexchange.com/a/724919/334249
Apparently you can put the device in an inhibited state, tried setting it on and off but it doesn’t help.

There are other things here too, but I don’t see anything that could properly reset the device

drwxr-xr-x 2 root root    0 Oct 20 16:21 capabilities
lrwxrwxrwx 1 root root    0 Oct 20 16:26 device -> ../../../VPC2004:00
drwxr-xr-x 3 root root    0 Oct 20 16:21 event7
drwxr-xr-x 2 root root    0 Oct 20 16:21 id
-rw-r--r-- 1 root root 4096 Oct 20 16:38 inhibited
-r--r--r-- 1 root root 4096 Oct 20 16:26 modalias
-r--r--r-- 1 root root 4096 Oct 20 16:21 name
-r--r--r-- 1 root root 4096 Oct 20 16:21 phys
drwxr-xr-x 2 root root    0 Oct 20 16:26 power
-r--r--r-- 1 root root 4096 Oct 20 16:21 properties
lrwxrwxrwx 1 root root    0 Oct 20 16:21 subsystem -> ../../../../../../../class/input
-rw-r--r-- 1 root root 4096 Oct 20 16:21 uevent
-r--r--r-- 1 root root 4096 Oct 20 16:26 uniq