Using the framework property I can detect the changes to the LockLeft, LockRight, LockTop, LockBottom, LockHorizontal, and LockVertical properties.
But when they change I’m not sure what CSS properties to change in order to get them to obey the changes. Perhaps @Greg O’Lone can give some insight into what the default controls do when these properties are changed. Although I know even with the default controls they don’t always listen to changes in the locking properly. (There’s a few bug tickets for this already)