I went into the wiring on my Diesel and made it so that the rear differential lock is independent of AWD. It works very well.
I can tell you what I've done in regards to my machine, yours may be different. I did a lot of looking through the factory service manual to confirm how it works and then did some further looking through parts stores to make sure I could afford anything if I burned up anything!
With the Diesel, the rear differential is either open or locked, it does not have any limited slip when it is unlocked. I've read that the gas engines are this way, I can't confirm.
Looking at the factory switch you can see that there are 3 positions and there is nothing at all special about it. The switch has two contacts in it. When in the bottom position the bottom switch contacts are closed, when in the middle position there are no contacts closed and when in the upper position the upper switch contacts are closed. The bottom switch controls the rear differential and the top switch controls the front Hilliard coil.
1. When in the bottom position for differential unlock the bottom switch is closed which sends 12V to the rear differential control module by way of the speedometer. The rear differential control module provides the momentary pulse to unlock the rear differential. When in the bottom position the top switch is open.
2. When in the middle position, the bottom switch is open and 12V is removed from the rear differential control module by way of the speedometer. The rear differential control module, seeing 12V removed, provides a momentary pulse to lock the rear differential. When in the middle position, the top and bottom switches are both open. (Note here too, that the rear differential has power removed when you pull the parking brake or turn the machine off, this locks the rear end so the single parking brake disc will work, sliding down a hill with one wheel turning forward with traction and the other turning backward in soft ground can happen)
3. When in the top position, the top switch is closed and 12V is sent to the front Hilliard coil by way of the speedometer. The bottom switch is still open and there is no 12V signal being sent to the rear differential control module so the rear differential stays locked. When in the top position, the top switch is closed and the bottom switch is open.
NOTE: With each mode, I say that the signal is sent through the speedometer. This is because the speedometer governs when the operation will take place. On the Diesel, if you are under 8 mph, the speedometer will allow the rear differential to operate if you flip the switch and the speedometer will let power be sent to the AWD coil if under 8 mph. If you engage these below 8 mph and travel above 8 mph, the signal is not removed and AWD stays on or the differential stays in the position you want. With the gas engines, operation is governed by RPM and not speed although I don't recall the RPM at which operation is prevented. These are safety features that prevent you from engaging the rear diff lock or AWD with the wheels spinning and so prevent damage! This is why if you do something like I did it is very important that you don't just send power directly to the rear diff control module or to the Hilliard coil!
The whole operation of deciding that the rear differential has to be locked if you're in AWD is governed by the switch and only by the switch.
So what I did was simple. I took a bet and figured that there likely wasn't any logic in the speedometer that would prevent me from sending 12V to the speedometer to unlock the rear diff at the same time that 12V was being sent to the speedometer for the Hilliard coil.
On the back of the factory switch, I identified the wire that would have 12V on it when the differential was unlocked. I then installed a separate switch and ran it so that I could provide 12V to this wire when the factory switch was in another position.
When I'm in the AWD position, I can flip the switch and the differential is unlocked. I've confirmed that the rear differential does lock and unlock when in AWD by watching it work. I confirmed it again just for fun a few weeks ago when I got stuck in over 2.5' of snow as well!
This modification has worked very well for me. One of the times that having the rear differential locked and in AWD hurt me has been on the side of hills and the times I've been turning in snow or mud and the locked rear pushing. This has fixed this problem and I've not found any drawbacks so far.
Hope this helps!