Try to explain what has been done with SCAN{,UI}_{LOCK,UNLOCK}