Finding a way to allow this in-reality-safe isolation violation

Something along these lines I've been looking for is some kind of strategy to enforce "dimensions" of sendability… where I can specify that a variable is "unsafe" WRT the access of that variable but also "safe" WRT the value itself.