You can sort of lock an orbit by locking the diameter and putting mass to zero, that way it won't get affected by other masses, but if the parent objects orbit shifts, it might lose the orbital position and if the object you're changing has any sattelites, it'll probably lose those as well.