Get under it and with the T-case in 4wd try to turn the front driveshaft. If it turns freely it is the T-case. If it don't jack the front axle off the ground and get under it and try to turn the driveshaft. If the driveshaft turns and the wheels don't it is the ring and pinion or the lock outs. Start with a process of elimination 1st.