Thanks for getting back to me.
I suspected it was the door switch and it happened a couple more times on the way to work this morning.
How do I find out the Radio code? I bought the car recently and I don't think it's mentioned in the information I got. Can I get it from Mazda?
Is there no fuse I can pull to disable the alarm system?