Fix locked properties proxy not to use shared pointers for parent settings
The proxy is always created in "kind of stack", therefore the settings
are guaranteed to exist throughout all its life.
The fix is needed to ensure we never pass 'this' into a shared pointer