As soon as they entered, the door was shut behind them.
ज्योंही वे अंदर घुसे कि दरवाजा बंद हो गया।