I remembered         the door before I left the office, but forgot to turn off the lights. 
#88593
A
locking
B
to lock
C
having locked
D
to have locked