Hi Mark,
I had a similar problem the other day - but in reverse - every time I unlocked the car it would immediately lock itself.
I timed a grab for the handle to coincide with pressing the button to unlock and got the door open.
The door then clicked and whurred trying to lock itself for about 10 seconds.
Went to reverse the car out of garage and, as I started to move, the alarm went off.
turn off engine press button and alarm stops.
Tried locking and unlocking the car again with the same result.
Walked round car, unlock, open, close and lock each door manually (inc the boot) a couple of times.
Try remote again - no problem.
Not had a problem since.
Two thoughts cross my mind
1 is that I was using my other half's key which had not been used for some weeks, but I've never had a problem before.
2 the low battery light came on when I turned the ignition on (I forgot to plug the battery conditioner back in the last time I used it :-( )
I know low battery seems to mess up the alarm.
Cheers
Gordon