Forbid modification of locked collections