Did something stupid here, but learned a little about the process.
My daughter had an issue at school where her car keys were misplaced. (Turns out that they were turned in to Security, but they had a couple of employees who were too lazy to look, and never "found" them; a manager finally acknowledge her keys were indeed turned in, but they were there with dozens of other lost sets...weeks after the fact.)
I had to call a locksmith to meet us down in the parking garage. He had to break into the Accord (setting off the alarm), then he started removing the lock cylinder from the glove compartment. It occurred to me that he was using the pins from that cylinder to cut a new key. And he had the programmer to program the immobilizer. So it got her back on the road, not too cheaply. But we did get a spare key out of it.
The stupid part? We both have AAA. They would have covered part of the locksmith fees... ? Only we were too concerned with just getting back into the car that we both totally forgot about it!