Door-locking magnets are, defying intuition, incredibly hard to force open. Without much noise and without any easily worn-out moving parts, they are in all a very secure locking device. A magnet will only lock if it is 'powered-up', i.e. if current runs through it. Should the power supply be disrupted, a magnet can continue to operate if fitted with a back-up battery.