the transfer case switch is on top of the transfer case, had to replace it on my 2010 JK, not difficult to get to with crowfoot wrench.
The switch is only about $30, cheap option and may be worth a try before investing in the Z-automotive locker bypass; I had the rear axle locked message when...