The invention relates to a photoelectric coded lock. The photoelectric coded lock consists of a
password setting device, a position varying code inputting device, a position shifting code
transmitter, a code storage restorer and a door opening
system. The photoelectric coded lock is free from limiting the
digital number of a
password and free from limiting the
password quantity on each digit, and a coded lock with multiple digital numbers and multiple passwords on each digit as well as high safety can be manufactured according to the requirement. The lock is controlled mutually by photo and
electricity and integrates a printing circuit, so that the
machine is reasonably combined with the
electricity, the size is moderate, and the cost is controllable. The lock is simple and convenient for setting the password, the password is short and easy to remember, the lock is easy to operate and fast to unlock, and the locking performance is stable; the lock is a pure digitalized lock, so that the safety is improved compared with the modern coded lock; and the photoelectric coded lock is suitable for different installation environments and different people to use, and can be widely applied to a security door, a safe case, a
bank vault, a national security military department, ships, cars and all relatively fixed door cabinets, therefore, the trouble for carrying a key can be thoroughly avoided, and people can enjoy a convenient life brought by the scientific and technological innovation. Once a product of the photoelectric coded lock is issued in the market, a great economic benefit and social benefit can be produced.