driver side window and lock not working
Most likely the issue will be in the wiring or the switch. Inspect the wiring (it goes through a loom between the cab and the door) and repair it if necessary. Or buy a new switch and hope that was the issue.
If one of the other switches that does work will connect to the wiring to the driver side door, you can plug it in and see if it works. If it does, you’ll know the switch is bad.