set 'snapshot-delete' lock when deleting snapshot