More lock fixes for the transaction update.  Issues reported by Coverity...

....