only lock changing-composite-mode on successful last change