I have a 2007 Santa Fe,and I had something similar happen two days ago. Myseft ,The Wife and the teenager went to the local mall for a quick bank and milk run.i parked the SF and left the engine running and then left the vehicle ,soon to be followed by the wife.
i got back from getting milk and she the bank and as i sat down she states "nice" i say,whats nice...she says "locking me in" i said i did no such thing...she says that every time she tried to unlock the car to get out that it locked again.they both thought i was in the store watching out the window and using the key fob to lock the door when she tried to get out.
I said that i did not do this and was not pranking them which was not believed until i pointed out my keys were in the ignition with the fob attached.
it hasnt happened again...could not duplicate it either...going to be a head scratcher trying to figure this one out.