lock delete