[3010]Ensure stm.delete in PersistenceObject.lock