Good stuff! Yeah, five min job (first time will, like all things, take much longer to remove, than when you come to refit it)
I
believe you're talking...
the two visible from the engine bay on top of the lamp. Just loosen them for now.
then remove the bottom 'eyelid' plastic trim underneath the lamp. One screw, then 'peel' it away carefully, then with a tug it should pull from out of the wing.
This exposes one final stud (10mm or close to) deep down inside here, underneath the lamp. Get your long extension on this, triple check the socket size/fit.
Headlamp out just enough to then unplug.
Upon refitting, perfect time to either oil, or replace the studs. Often I replace the hard to get to studs/screws/clips with nicer ones, then fit the tatty/rusty/knackered ones in the easy to get to areas. They can be replaced at a later date quickly and pain-free.