Added scanning lock