In traditional electric locks power is often supplied from the interior of the locks by battery or alternating currents.The traditional electric lock will just be a normal lock if the supply is powered off by battery or alternating current.It proposes the design of a novel electric lock in which iButton is employed and the power is supplied from the outside.The novel electric lock not only can be burglary-proof