remove unused from lock