I hate it when they do weird stuff. The first thing to be done is to scan the PCM (powertrain control module) and the BCM (body control module) for any trouble codes. The only thing that should happen when you put it in park is unlock the doors.
Let me know if/what the codes are. This ought to be fun.