How to make slider joint immovable by the player

I’m trying to make some dynamic levels(level changes or moves as you play) and i am trying to make the walls immovable at one point and after a trigger the walls moves with the slider joint to form stairs or other stuff. The problem is that when the wall is not supposed to move the player can push it around, i have setup a script that enables the motor part of the slider when a player enters the trigger and everything works fine except for the pushing of the walls. Anyone have any Ideas ?

Set the joint’s rigidbody’s isKinematic value to true. This will prevent it from being pushed by the physics system, but should allow it to still be used as a blocking wall.