I Just did a whole headlight install so iv'e pulled everything last night and put it back in. here is some diagrams i drew up on my phone to try to explain. when i get home i can take some photos of the headlamp housing and show how it works.
the main point is to press on the sides of the power connector and pull at the same time. once you unplug that then you will see the bulb still in the housing and the bulb prongs (flat metal pieces that supply the power from the connector you just pulled) in the housing there is a built in wire that goes across the bulb to hold it in and goes to the other side and locks under a tab. so find the end and push it down from under this tab and it will open like a door (it's on a hinge) then you will be able to pull the light bulb.
here are some quick drawings, let me know if you want me to take legit pictures, i have the whole housing on my shelf, and i can pull the connector out and try to gets some pic's of it (it will be dark pic's cuz it's hard to get good pic's on the camera in the engine, or headlamp areas)
here in the first pic is a view from the engine, meaning this is the end that sticks out of you headlight housing
this is a side view of how this system works
this is the same view as the first picture, just with the power connector off.