Means for blocking or restricting the movement of the rod or piston