Lock panels only in ViewMode 0, added AutoLockPanels to preferences