You have to finish by two o’clock.
You have until two o’clock to finish.
Your hair will be dry by the time you finish the magazine.
Just keep reading the magazine until your hair is dry.
Can I stay here until Monday?
Yes, but you have to leave by 10 AM.