Safety switches with separate actuator and lock