when ... opens
口を開けるとヘンよ!
You look funny when you open your mouth!
— かぐや姫の物語 (2013)
トムが扉を開けると、犬が走り出てきた。
When Tom opened the door, a dog came running out.
私がかごを開けるとすぐに、カナリアは飛び出した。
As soon as I opened the cage, the canary flew out.