This error is from the fact that ticket 38 already has a lock. The question is why...
Is there any chance two people were at the same time in that ticket? Can you wait more then a minute and try again? The lock should only be there for one minute (if it's not locked again offcourse)