The invention belongs to the technical field of gun management, provides a gun storage lock and a working method thereof, solves the technical problems of large occupied space and complicated structure of the gun storage lock, is compact in structure, and reduces the occupied space of the storage lock. According to the technical scheme, a mechanical lock is fixedly arranged on a lock upper shell and connected with a lock rod, the lock rod comprises a rotating shaft, a motor sliding seat comprises a sliding seat guide groove, and the rotating shaft moves along the sliding seat guide groove; a motor is fixed between the motor pressing plate and the motor sliding seat; a gear is fixed to a driving shaft of the motor, and a rack is arranged on the driving sliding block and meshed with the gear. The driving sliding block and the motor sliding seat are fixed on the mounting bottom plate through optical shafts; a bottom plate center shaft is arranged on the mounting bottom plate, and the locking claw is rotationally mounted on the bottom plate center shaft; a spring bolt fixing column is arranged on the mounting bottom plate, a mounting groove is formed in the spring bolt, and the spring bolt fixing column is fixed in the mounting groove through a clamping spring; and the mounting bottom plate is fixed on the lock lower shell.