Change lock object when activating a LockRecord