Examples: fix capitalization typo

otherwise the "Salary sum for all Main Streets" comes back as 0.
BTreeMap: small optimalization in locking method