Hi Kylian, I hope your doing well despite the problem you are experiencing now and I'm sorry for that. For that let me try to assist you.
You may experience lag especially during fps games. If you are using a gaming keyboard, you may want to use the latest driver. But before downloading the latest driver, I suggest you should uninstall the existing drivers first before installing the new version. Please also ensure that you use the drivers recommended by the manufacturer so you will be able to use the best experience of your keyboard.
You can also check the guidelines provided in the link below
https://www.makeuseof.com/windows-10-fix-keyboa....
Disclaimer: The link above is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Aside from that, please also take note if your display VGA drivers are updated. Sometimes, graphic issues also causes delay. It is also best to uninstall the drivers first, perform a restart before installing the latest driver.
I hope this helps. Please let me know if I didn't address your problem. Don't hesitate to ask for further assistance.
Regards,
Arnel