It sounds like the previous owner may have started to rewire them but didn't carry through. The factory locker system is way too complex and there's just too many ways it can screw up and stop working. My present TJ's lockers weren't working when I got it so, even with a solid electrical/electronic background, knew I didn't want to bother trying to troubleshoot it. So, like wiring up a couple 12 volt light bulbs, I rewired it after moving the compressors into the engine compartment. Power, 5-amp fuse, on-off switch, compressor... a very simple thing to wire up.
This is where I moved my compressors to and mounted the switches. Not to mention having individual switches means you can run either locker you need if the situation calls for something like a front locker-only situation where you need to make a really tight turn. Unlocking just the rear locker allows for significantly tighter turns since the rear axle won't be trying to push you straight ahead.
View attachment 215387