Not my car but my sister-in-law's car locked us out of it when she was giving us a lift to the airport..... it was due to that really annoying feature where the car automatically locks the doors if the engine is running. Took 40 minutes to get it unlocked again! And out suitcases were in the boot.... we made it onto our flight just in time.
Yes, recently did!! Our keyless feature was broken, so we were using the key lock to get in and out of the car and lock it. The lock decided to break, locking me out of the car. We had to get the keyless feature fixed. Blessing in disguise I guess, but definitely frustrating while it was happening.
Yes, one time I borrowed a friend's car and locked myself out. That was terrifying as it was also the first time. Ii had to pay someone to break into it for me. Plus I was late in returning it. After that I looked myself out of my own car just as I was realizing that the key is inside. Ahhhhh. I had to board a taxi and go home for my spare key.