Moving lock/ramp/divertor handling to new mode

Moving the lock and ramp handling to dedicated mode makes control
simpler to follow.  Also renamed ramp/switch/coils for this section to
make standard