Teams are archived at the end of the year but no work is deleted. Work can still be accessed via sharepoint and teams using the methods below:
To access the archived work through Sharepoint and search for the class code:

Find the team you are looking for and click onto its sharepoint site. From here you can access the documents:
In Site Contents you’ll find all the student wor. If you want to download the work and save it somewhere else, or if you need to edit a document. Click on the document or folder and click Download.

Staff and Students can access their work from within teams still. Click on Teams, then all teams in the top left if you can’t see a list. From there click the Cog at the top right and manage teams:

From there you should be able to see the archived teams, search for the team you are looking for and click on it.