When i turn the key the opposite way to when wanting locking it, then turn it the other way to lock it, the car locks and also the lights flash. But for the lights to flash i have to turn the key the opposite way before locking the car. i.e. turning the key anti-clockwise before turning it clockwise to lock it.
Hard to describe but hope you understand.