More than once.
As a child, my parents helped me climb up a wall and through an open window to let us all in.
In my late teens, a friend who was staying with me locked me out (2 locks, I only ever used one of them but that day she used both) and I had to go into her office in London to get the key.
The time the key broke in the lock. Literally snapped!
Left my keys at a friend’s house and had to walk a mile to my mum’s because she had my spare.
And most recently, DH and I twice locked ourselves out of a top floor flat. Luckily, the first time, the neighbours knew us and let DH climb across the balconies to get in (thank fuck we left the balcony door open).
Then, the next time, the neighbours had moved out. The neighbours next to them on the other side didn’t know us but apparently we must look very trustworthy (or stupid). They let us go through their flat and climb from their balcony onto the empty balcony and then on to ours. We then went back with keys and two bottles of wine as a thank you.
We have a keypad on the house we live in now.