when enteringUsed to describe what happens when someone enters a place. The person entering is usually indicated before に, as in 部屋に入ると (when someone enters the room).
JA: 先生が教室に入ると、学生たちは静かになった。
EN: When the teacher entered the classroom, the students became quiet.