Three stages, not a switch
Releasing is deliberately not a single on/off. A marked paper starts private to you. You can then release the marks and written feedback while keeping the scanned script and the mark scheme hidden, and release those documents separately afterwards.
The middle stage exists because of how most departments actually run a post-mock lesson: you want students to see where they lost marks, but you want to walk through the paper together before they have the full mark scheme in front of them.
Per paper or per assessment
You can release one student’s paper on its own — useful when somebody sat the paper late — or the whole assessment at once from the release control on the assessment.
Taking something back
Setting results back to private removes student visibility immediately. If you spot a marking error after releasing, fix the mark and release again; students see the corrected version.
What the student sees
Students see their own marks and feedback only. They can raise a query on a specific question if they think something has been marked wrongly, and those queries arrive in your Review Queue.