Honda accord tick tock noise when off?

My 2013 honda accord is making a tick tock noise whenever i turn off the car and lock up, i never noticed it until lately and it sounds like its coming from the driver side when ever the noise is happening i can't lock the doors with my key, it only maked a louder click noise but doesn't beep, what can this be?

Hi so having driven some distance the cars exhaust system cools down the sound it makes is just like a ticking clock the metal is contracting as it cools down making this noise.