Most likely not, the Office toolbars are a custom control and there is no standard "lock position" message that I am aware of.

You could try your luck in the Office Development forum. Make sure you post what version of Office you're using.

Welcome to the forums.