SGTools: Lock t2p map
Add a mutex to protect the t2p map.
The t2p map is referenced from both DataStore and DataProxy. While both of those have locks, the t2p map could be accessed from both simultaneously, so it needs its own lock.
If the locking here takes significant time, we can think about doing this differently, but try the simple thing first.
See ATEAM-593.