should lock during composition in all cases