Cost depends on how fancy you want to get. If you go with an automatic locker you can save some money.
Cheapest automatic locker would probably be the Aussie locker... I love mine so far. $400 "all in"...meaning that's with modifications, fluids, sealants, etc.
Here's the writeup on how to install one:
http://www.explorerforum.com/forums/showthread.php?t=318076
Next up in cost would probably be the detroit full carrier locker (also automatic). I have heard it can be a bit harsh the way it engages when you are on the street, but not sure if that is true specifically with our trucks. I have heard similar things about the aussie locker and I hardly know it's back there on mine. I am sure someone on the forum has a detroit on their X and has talked about it...try searching for something like "detroit locker."
After that you're looking at manually activated lockers like the ARB, Ox, and Eaton E-locker. All of those are expensive and they all require some additional work to put in the activation cable/circuit/air compressor/etc. But you get to control when it's locked and when it's not...so that could be worth the difference in money if that is important to you.
For limited slips, I wouldn't go with anything but an Eaton TrueTrac. Around the the same price as a detroit locker roughly.
My opinion, I haven't really seen the need for a manual locker in the rear axle yet. As I said I hardly know the aussie locker is back there. It does make a ratcheting noise in slow turns, but that doesn't bother me. You have to be a bit more conservative with how you accellerate out of turns with an auto locker...too much gas going through the turn and you'll chirp your tires on dry pavement or possibly fishtail in slick conditions. I'm not worried about that either because once I put in the 3" lift I slowed down my turns a lot anyway because of body roll so I don't have any problems.