Animated mechanical locking

Diagram
Lever 3 is pulled and the points motor reverse.

Click here to pull 5.