I'm not the only one to have experienced virtually the same symptons - combined with the 'key in' warning buzzer sound being rather strangled, interior light staying on but extinguishing with the sidelights on, central locking issues etc etc.
There are topics on this issue if you search on here.
Seemed to get worse during very wet weather.
With the advise of 'cam-in-head', plus a fair degree of head scratching, it was traced to a previous water ingress issue in the drivers kick panel area causing damage to the central locking ecu. Mine was primarily as a result of previous water ingress problem from a broken pipe from the offside sunroof drain - the water was running across the headlining and behind the A pillar trim , down behind the door stay into drivers side footwell. Once I replaced the broken connector from the sunroof drain, I replaced the c/l ECU with a known used one with the pcb and transponders transfered to my existing fob, and everything has been fine since. No reprogramming is needed - only if a brand new ecu is fitted to use with your existing keys.
If yours has similar symptoms, and you change the ECU, then any replacement needs to be the same Ident lettering, as there are different ones relative to model /trim / alarm
It necessitated the headlining removal to adequately carry out the sunroof drain repair without damaging the headlining itself.
Whether water ingress is your cause has to be worth checking, especially with the recent wet weather we've been recently experiencing....