They advised locking the doors carefully at night
A. They advised that the doors should be locked carefully at night.
B. The doors were advised to be locked carefully at night.
C. They advised the doors being locked carefully at night.
D. They advised to lock the doors carefully at night.