If you have recently installed any application, uninstall it as it might be why your laptop keyboard is not working. Other than this, if there is any USB device attached to the Keyboard, remove it to check if that USB device is affecting your Keyboard's performance.
If your laptop is overheated, let it cool and then switch it on. Also, Read iCUE Not Detecting Keyboard Restart your Asus Laptopīefore diving into much detail and trying out a complex solution, we will share an easy solution with you, which might solve your problem, and your Keyboard will start working.