Uses of the Subjunctive
5.- To express the future outcome of a present event.To express the purpose or aim of an action with the following conjunctions that introduce the relative clause.
CUANDO
Todo estará recogido cuando tus padres vuelvan a casa.
Everything will be tidy up when your parents come back home.