I DON’T KNOW WHY THE FRONT DOOR IS OPEN. I REMEMBER ... IT BEFORE...

19. I don’t know why the front door is open. I remember ... it before I left.

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