Examples of using "ちょうど彼女が寝ようとしたときに、誰かがドアをノックした。" in a sentence and their english translations:
She was about to go to bed when someone knocked on the door.