Tested in MicroStation CONNECT 10.17.00.209
At one time I thought you could prevent a variable from being set in a later config by undefining it, then locking it.
%undef VARIABLE %lock VARIABLE
But when I actually tried this with the MS_DISALLOWRELATIVEREFPATH variable it didn't work, as a test I tried:
%undef MS_DISALLOWRELATIVEREFPATH %lock MS_DISALLOWRELATIVEREFPATH MS_DISALLOWRELATIVEREFPATH = 1
And the variable was still being set.
There are a number of variables that work that way. You define it to any value and the option is enabled, the only way to disable the option is to %undef the variable.
I've not had the need to do what you are doing, but I can see the value in being able to do so.
Rod WingSenior Systems Analyst