Hi, I found this blog on another site, it may help.
Cheers, David
This normally happens when you try to unlock the car using the fob and discover the old battery doesn't have the power to unlock the central locking (this also means it doesn't turn the alarm off) so you resort to unlocking the car with the key.
When the new battery is then connected the car is unlocked, but the alarm still armed, and so the alarm goes off.
If the fob was working before the car battery was changed its unlikely to be the fob battery thats the cause, but its worth getting into the habit of changing the fob battery every year.
First step is to unplug the horns temporarily so you don't annoy the neighbours too much :thumbsu:
Then connect the new car battery, close the bonnet, lock the car using the key and press the fob unlock button several (5-6) times.
This should re-synchronise the fob and stop the alarm/deactivate the immobiliser, and you should be able to start the car as normal.