add some explanation to the new SCAN_LOCK macro