Fix issue where lock settings didn't save properly

When the "Autolock in combat" option was used and the frame was also
manually locked, after combat ended the frames were unlocked - while
they should remain locked.