单项选择题

Harry ______ the car before he entered the supermarket. That was why his car was stolen.

A.had not locked
B.is not locking
C.has not locked
D.was not locking