add ability to freeze an atom to prevent further modifications