You can archive a task or milestone by hovering over and selecting the ‘Archive’ button.
If you would like to see and retrieve anything archived, select the ‘see archived’ box on the top left of your project.