FIELD: applicable for protection of containers against an unauthorized access of strangers and their location. SUBSTANCE: the code lock has a power supply source on the container, remote-controlled switch with two opposite phase windings, code device, ferreed contacts consisting of the "authorize" and "inhibit" groups, electromechanical locking device consisting of actuating units kinematically linked with the mechanical lock, relay winding and make contacts of the alarm system, duplex radio communication transmitter consisting of a master oscillator, modulation code generator, phase manipulator and a power amplifier. In addition the lock has a receiver of GPS signals, consisting of receiving antenna, high-frequency amplifier, detector and a phase detector. At the control station the lock has a transceiving antenna, duplex, recording unit, receiver of duplex radio communication consisting of a high-frequency amplifier, detector and a phase detector, microprocessor, transmitter of duplex radio communication ha