A surgical system includes a robotic arm, a constraint mechanism coupled to the robotic arm, and a computer system configured to control the robotic arm to constrain manual movement of the constraint mechanism to a plane. The computer system is also configured to control the robotic arm to lock the constraint mechanism in a desired pose when the constraint mechanism is moved to the desired pose via manual movement in the plane.