单项选择题

I completely forgot()the front door last night and feel fortunate that nothing is stolen.

A.locking
B.being locked
C.to lock
D.to have locked