Locking a breaker in the energized position does not affect it's ability to open the circuit. Very common (and legal, BTW) practice for mission critical and some life safety equipment.