Задание

Choose the correct item: He closed the door, ___ he locked it.

then

as soon as