The electronic code lock is an electronic product that controls the circuit or the chip by password input, thereby controlling the closing of the mechanical switch and completing the unlocking and locking tasks. It has many types, simple circuit products, and chip-based products with high cost performance. Nowadays, the widely used electronic password lock is implemented by programming with the chip as the core. It has high confidentiality, good flexibility and high safety factor. The scope of application of electronic code locks: electronic code locks are currently mainly used in safes, safes and vaults, and some are used in safe deposit boxes and cash transport vehicles. At present, with the continuous improvement of the security door technology, many security doors are equipped with a password lock.