You can use the Lock Position command to specify that you don’t want certain objects to move in your document. As long as an object is locked, it cannot be moved, although you can still select it and change other attributes such as color. Locked objects stay locked when a document is saved, closed, and then reopened.
To lock the objects, choose Object > Lock Position.
To unlock the objects, choose Object > Unlock Position.