Locality is a property of how data is arranged, so it's a property of the data structure, no?
When we put the binary tree nodes into an array and move from the parent to children using indexing calculations, rather following pointers that could go anywhere, then it's an explicit part of the data structure.