I have the same problem constantly. I have to leave the window down if I get out of the car with the key in the ignition. Doesn't matter if it is running or not.
Finally had the chime recall update two months ago. Drove 1.5 miles to my mail box on the way to work. Got out and it locked me out with the engine running. Had to run back home to get the spare key. I believe the recall update caused it. Ideas?