Ответ:

  1. ... was sleeping when the phone rang.
  2. ... turned on the light as soon as I arrived.
  3. Please turn off the computer when you leave.
  4. ... made dinner; then she took the dog for a walk.

Ответ: 1) when; 2) as soon as; 3) when; 4) then.