Change lock mechanism to support set/unset preview callback in preview state [MPR...