lock composer in current state