It is used for positioning blue movable tube along beige stationary tube, to which a yellow rim is fixed.
Turn the blue pipe to unlock, move it to new position and turn it back to lock.
At lock position the red spring prevents longitudinal motion of the blue tube but not its rotation.