Here's an excellent link for programming and key, parts, fob purchase.
sidewinderkey.com
Here is current thread addressing the same lock cylinder issue, except your in good shape, he
can't open the door, to get to the cylinder!
http://newbeetle.org/forums/questio...eetle/48259-key-stuck-door-will-not-open.html
If you can find an
AUTOMOTIVE locksmith, I must reiterate,
AUTOMOTIVE locksmith, this may be your cheapest solution, as to get a new lock cylinder if has to be ordered by a Dealer from Germany. An automotive locksmith may be able to repair yours or rekey a new one. Removal of the cylinder is easy, there is a DIY around somewhere from a few weeks ago. DON"T REMOVE THE SCREW IN THE DOOR STILE THAT YOU LOOSEN TO RELEASE THE CYLINDER.
Get the cylinder issue taken care of and GET A SPARE KEY POST HASTE! You don't want the expense involved when you have none! And when you get, or the cylinder is removed by someone else, get the 4-digit code. A Dealer can get it with the VIN, but will probably charge you for that simple task.
As to your headlights, could be loose plugs at the headlight assembly/harness connection. The question about your DRLs was excellent. They are the same bulbs fed by a different power source. You can not due what you were inquiring about with the switch, it's not that type of switch. If you pull it out, all that is there are contacts. That is not to say that it is not the switch. If you do have to replace headlight bulbs (hopefully someone hasn't "modded" the car with aftermarket HIDs, because then you will have all kinds of other issues),
always replace bulbs in pairs. Halogens deteriorate with time, thus decreasing brightness. You car will use H1s unless someone has played games with them.
Keep us posted, there are several of us around here who can walk you through the diagnosis and solutions.
Funny how Sellers forget about the little unimportant things, like not having headlioghts or the ability to lock a car, when they are selling.
You are also going to have some very pressing, important service due issues to deal with, right away. But these are the most pending issues. One thing at a time!
MORAV