Fix typos in database-lock-pessimistic-or-optimistic.