"Only" in the sense of "not until"

Do I understand correctly that the meaning of "only" for "not until" is only valid for past actions:

No.

You will only be able to put the roof on after you have built the walls.

= You will not be able to put the roof on until you have built the walls.