/Engine/Source/Runtime/GeometryCore/Public/Spatial/BlockedDenseGrid3.h
that provides a critical section for each block id.
template<typename CriticalSectionProviderType> void SetValueWithLock ( int32 I, int32 J, int32 K, ElemType NewValue, CriticalSectionProviderType & CriticalSectionProvider )