My laptop is nitro 5 an515-57. It happened suddenly when I played some games then my keyboard stopped working. I tried to force shutdown it, and somehow when I boot it, it came back just fine. Shortly after that the error returned, and simply restarting (hard reset) alone didn't work. I tried all the methods like reinstalling my keyboard driver, turning off the filter keys, disabling fast startup, etc. and none of it worked. Desperately I reinstalled my windows using my local files, well, it did resolve the problem but only temporarily. Then I tried to clean all the files from my disks, well, it also resolved the problem yet temporarily. Please help, I don't know how to solve the problem anymore
[Edited the thread to add model name to the title]