How can I prevent from the player move/slide on slope but to keep be able to move with keys ?

I have this situation in the game :

The player is interacting with a keypad system.

The problem is because the terrain have some slope down at that place the player is sliding/moving a bit and after some seconds he lose interaction with the keypad system.

For this I tried to usie ZeroFriction on the terrain material.
I didn’t change anything in the ZeroFriction settings but it didn’t solve the problem.

I found that if I set the player Rigidbody Is Kinematci to true the player will not move if I set the Rigidbody Drag to 50 this also will stop the player and other options.

But I want to keep the game flow as much as natural. I mean that like in real life when you unlock something type code sometimes you decide to stop trying and move to somewhere else doing something else.

I want that the player will stay will not move when interacting with the keypad system but also that if the player is pressing one of the moving keys WSAD it will release the player back to normal. Same like in real life.
I could add to the keypad system some Exit/Cancel button that will release the player but I don’t want to do it this way.

And I need that place with the slope in the terrain because I’m using it for something else later.

This screenshot show the moment the player is interacting with the keypad system when doing it it’s opening a bigger image of the keypad.

And this screenshot after few seconds after the player was sliding a bit on the slope :
The interaction has lost :

See where the player is now ?

I want to prevent from the player to slide down the slope/hill but not to lock the player key movements so the player can decide to move away from the keypad system when ever he want.

This screenshot show the components on the player settings :

Hi, perhaps increase the friction prevents the player from sliding?

Or set the player isKinematic when the speed is lower than some speed, and wsda not is pressed. Then make it !isKinematic when the keys are pressed again.