You can do this via coding. Find someone local that is able to help you out or look it up.
My car unlocks all of the doors when the car is in Park and you turn the engine off.
a good place to start looking around -
http://www.bimmerfest.com/forums/forumdisplay.php?f=175
Alan