OK, Here is my explanation.
We have a guy here that creates his viewports, locks the layer, then under properties selects "displaylocked yes".
So, If I need to do anything with it. I need to unlock and thaw the viewport layer, then select it, hit properties, scroll down to display locked, change that to "no".
Then fix it back when done.
The layer locking and thawing is no problem.
The layer lock takes more time than I wish to spend doing it.
Bottom line, That is what I am trying to write a routine to do.