the door closed
La puerta se cerró con un golpe.
The door slammed shut.
De repente, la puerta se cerró con un golpe.
Suddenly, the door slammed shut.
La puerta se cerró por sí sola.
The door closed by itself.
La puerta se cerró con el viento.
The door slammed shut in the wind.
La puerta se cerró desde fuera.
The door closed from the outside.