swap lock delete