Quantum-lock