When you archive a class, it is archived for all teachers who have access to it. All assignments assigned to the class are also archived when the class is archived.
Choose class in the class filter, and go to the Pupils tab.
Go to Settings.
Click Archive class.