The selectable locker will be the ultimate solution - for all scenarios. Unfortunately, it is also the most expensive and be sure to invest in proper installation.
In a 2wd, the goal will be to have as much traction as possible from the two rear tires and the ability to engage or disengage the device depending on the surface scenario. The negative effect of a rear mechanical locker or LSD is even more pronounced in a 2wd, resulting in significant oversteer on low traction surfaces like ice, snow, mud.
This is not to say that a LSD or mechanical locker is not worth doing, but just know it is not the best practice for this application and will have compromises to performance.
Think of it this way. The 2wd prerunner that Toyota sells in the Tacoma package. What traction device is installed in the rear? A driver-selectable locking differential.
With a good quality tire, low air pressure and a locker, you can travel in some pretty remote and rugged places. Just know that a locked 2wd will never outperform a 4wd, so be sure to have a good shovel and traction mats- maybe even a winch
Best of luck