Where can you locate the fuse that controls outo door locks and courtesy lights?

Depends of course on the vehicle but there are different fuses for the locks than the lights. My suggestion is to open the door so the lights are on and pull relays from the fuse block under the hood till they go out. This should disable both auto locks and dome lights.