If Deadlock is coded anything like Dota 2, it might be a problem with the game. Dota 2 has had the problem you’re describing for years on both Linux and Windows. Haven’t encountered Deadlock being as bad, but might still be the case. Or it’s something with proton.
Play enough Dota 2 and you’ll find them soon enough