Ok, so the fuse is good.
If I didn't have the arsenal of Toyota's diagnostic equipment at my disposal.......
I would inspect the wires behind the driver's door switch panel. Inspect them for damaged/loose wires. Remove the electrical connector, see what it looks like. Apply some dielectric grease to the electrical tabs. Reconnect.
If all wires look good, next thing I would do is disconnect and inspect the door lock relay.......this relay is not a typical relay. When you think of a relay, you think of a little square box with metal tabs sticking out of it. The relay for Toyota's door lock system is more complex. This relay is more like a control module......a mini computer, if you will.
This relay has a circuit board, it has multiple relay chips installed in it, it has diodes, it has capacitors......lots of little electrical junk.
I would remove this "relay" and inspect it's plastic case for signs of heat damage. I would look at the electrical tabs for signs of discoloration, moisture damage and/or electrolysis (corrosion). If I see something suspicious, I would open up the relay case and inspect the internal components for signs of damage. If I see damage, I would replace the relay........the relay (dealership) cost is $300 + $200 for 1 hour labor service. Ouch!
I'll save you some Google Time and let you know what this relay looks like, where it is and how to grab it.
What it looks like:
The relay is shaped like a deck of playing cards, a cigarette box. Rectangle. The color of the relay is going to be blue. There's a chance that the color is purple, but 9 times out of 10 the color is blue. The purple colored relays came from a supplier who got the color wrong.
Where is it:
The relay is located above the brake pedal. Difficult to access. You're not gonna just reach under the dash and pull it out.
How to grab it:
Remove the driver's seat, lay on the vehicle floor, reach up, cuss alot and remove it. Or, remove guage cluster , reach down inside the dash, cuss alot and remove it........I do the seat removal method. Either way, (seat or guage cluster) it's such a PITFA to remove this relay because there's so much metal junk in the way and the various wire harness sections are not very forgiving. Plus, there's an anchor tab which needs to be manipulated before the relay is free and it's electrical connector was sourced straight from hell.
If everything looks good, I would then apply dielectric grease to the electrical tabs and reinstall the relay.
Next.......I would dig thru wire schematics to discover electrical power/ground sources and start the tedious process of manually testing electrical circuits.
If I still haven't found and eliminated the problem, I would take the car to Toyota and pay for a proper diagnosis of the situation. I mean, it might cost $175 for diagnostic service, but the service would (easily) take less than an hour and you'd know exactly what needs to be addressed.
$175 versus you spending days & days searching for the solution, yet making no progress. What's your time worth?
Good luck.
🦸♀️