You're in a bad neighborhood, a car stops suddenly in front of you, the car behind you bumps your rear bumper, you instinctively put the car in park... you just opened all of your doors for the guy standing on the sidewalk. This is a previously-used carjacking scam that I would prefer not to be part of.
Your wife or daughter is driving home late at night. She is pulled over by a car with a flashing light behind her. She pulls over, places the car in park (again, instinctively what you would do in that situation), and has just unlocked her car for the outside world.
Locking the doors automatically is a "safety" feature. I don't need my car to decide for me when to unlock; that is not a "safety" feature, it is a "convenience" feature, and an unsafe one at that. I have said it in several posts, but I'll say it again: if Hyundai (or ANY manufacturer) wants to put things such as this on their vehicles, they need to make it user-programmable, not something we have to go to the dealer to get done for us.