Thank you for the additional information. Both suspicions are possible causes of the issue. Let's try methods related to the keyboard, PC performance, and isolating the issue if it is caused by a program or software.
- Run Keyboard troubleshooter:
Go to Settings > System > Troubleshoot.
Select Other Troubleshooters
Scroll down and select Keyboard, then click on Run.
- Press Windows + X > Select Device Manager
Expand the Keyboards section.
Right-click on Standard PS/2 keyboard driver and select Update driver.
Choose Search automatically for drivers
If the system says 'The best drivers for this device are already installed'
Right-click it again and click Uninstall.
Restart your computer.
- Run a quick scan with Windows Defender to remove any potential viruses.
In the search bar, type Windows Security.
Select Windows Security from the results.
In the left pane, choose Virus & Threat Protection.
Click Scan options.
tick the radio button next to Quick Scan, then click Scan Now.
Let the scan complete. Windows Defender will remove any threats it finds.
- Please try performing a clean boot. If the issue does not occur in a clean boot, it suggests that another program or software running in the background might be interfering.
A "clean boot" starts Windows with a minimal set of drivers and startup programs, so that you can determine whether a background program or software is interfering with the issue.
Press Windows + R, type msconfig, and Hit OK.
On the Services tab of System Configuration, check Hide all Microsoft services
Click Disable All. Select Apply.
On the Startup tab of System Configuration, click Open Task Manager.
On the Startup tab in Task Manager, for each Enabled startup item, select the item and then click Disable.
Close Task Manager
On the Startup tab of System Configuration, select OK.
Reboot your PC.
Source: https://support.microsoft.com/topic/how-to-perf...
If the issue is not occurring there, scroll down the Microsoft article and look for 'How to determine what is causing the problem after you do a clean boot,' and follow the suggested steps to fix the issue.
- If the issue persists, please try the suggested steps here and check each time if it resolves the issue. If not, please proceed to the next method until the issue is resolved. https://windowsreport.com/keyboard-delay-window...
Note: This 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 a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Thank you