As an AHJ ( Authority Having Jurisdiction) OR (A**hole having jurisdiction) take your pick. I would not have a problem with a lock. The breaker or fuse will protrct the electrical equipment. I would ask that the fire dept. get a copy of the key so that they can shut off it case of emergency.