Problem with msi gf63 thin 11c laptop

Aug 19, 2023
When i type in Ms word or in a browser, keyboard works perfectly fine. However when i play a game (league of legends) i have massive input delay and that prevents me from playing the game at all! I press q,w,e,r,esc etc and it happens after seconds. I have ensured that the internet is optimal and that i have no ping. Honestly idk what can i do to fix that. Laptop is brand new