This keeps happening to me in my new Boxster. On a few occasions I've returned to my car and found that the rear boot has been open (not fully, just on it's catch) and the doors were unlocked. A bit worrying really.
I guess that I must be catching the button when putting the keys in my pocket. I now tend to hold the keys in my hand until I'm a distance away from the car, and then put them away.