Rolling back transaction locking