<p>A key lock which can be used particularly flexibly and cost-effectively has a communication device for wire-free linking of the key lock to an actuating mechanism. The key lock further has a cable-independent power supply device for autonomously providing the electrical power required for extended operation of the key lock.</p>