How does a rotary motion valve interlock work?

Responsive image
source