As soon as they had entered he closed the door.
अंदर प्रवेश करनेपर उसने दरवाजा बंद कर दिया।