Added code in the open_lock and close_lock functions that only turn on the actuator if the actuator is not already in the desired position.  We'll attach a limit switch to the to RB8 which will close and be shorted to ground when the lock is closed.