Prevent a classroom from regenerating its code if saved