test delete! in lock