Which one is correct?
A)If you locked the door yesterday, you wouldn't get robbed.
B)If you had locked the door yesterday, you wouldn't have got robbed.
C)'A' and 'B' are both correct.​