Ohh man, that sounds really awkward. I mean, how could this act close the damn car? I also had a similar experience when the car decided to get locked while I was outside. But, it was the 2008 e70 X5m. I was lucky, as I could open the door quickly, but I have no idea how you should do that with the newer versions. I was in Grand Prairie when it happened to me, and I called for the services of the
best locksmith in Grand Prairie. He opened the door in less than 5 minutes. But with the F15/F85 or G05, it would be much more demanding.