Patent attributes
An improved structure of an electronic lock includes an outside-door assembly, a lock middle, an inside-door assembly, and a latch. The outside-door assembly is mounted to an outer side of a door panel. The lock middle is connected to the outside-door assembly. The inside-door assembly is connected to the lock middle and is mounted to an inner side of the door panel. The latch is connected to the latch coupler. With a code entered, an electrically-driven valve of the lock middle causes a guide block and a projection block to extend outward to have an outside handle and the lock middle to synchronously operate for opening the door. Alternatively, a key may be used to open the door. If such a code and a key are both not available, the outside handle and the lock middle do not synchronously operate.