How to fix Bluetooth keyboard lag in Window 11

I recently faced same problem when i bought wireless Logitech keyboard mouse . After troubleshooting , i came to know that USB port incompatibility . so check both USB port before declaring Keyboard faulty .