I watched a locksmith put a wedge between my window and weatherstripping then slip a funky shaped metal rod under the window and into the cabin. He manipulated the piece of metal a little bit and hit the unlock button.
One time in my family's old Crown Vic my sister managed to lock the keys on the back seat when she got some toys out. The locksmith came out and cut a new key while looking at the old one sitting on the seat inside the car