There is a common issue that could cause the switch to not work. Wires between the door and the cabin tend to break inside the insulation, often in the driver's door due to its more frequent use.
Since your driver's door switch does not work to lock any of the doors, the wire that is probably broken will be the pink with light green tracer wire.
You could test this by using a test light, connecting the clip to a known good ground, then removing the switch assembly from the door and touching the tip of the test light to the pink/light green wire at the switch. If the doors do not lock, you know this wire is not getting a good ground back to the relays. You could then open up the wiring bundle as close to the cabin as possible, find the same pink/light green wire, and piece the insulation with the test light tip. If it now locks all doors, you know the break in the circuit is between that point and the switch assembly. If the doors do lock when you touch the test light tip to the pink/light green wire at the switch, then you know the switch assembly is the problem.