When I click the game freezes [PC]

I installed the game in the microsoft store and the first time I played it everything was fine and correct, but now that I want to play it again, the game when I press a key or click with the mouse freezes 1 second and returns to normal , but the problem is when I am in game and I have to have the keys pressed many times and since the game freezes and nothing can be done, I hope you can help me. Thanks!

UP