Welcome to JustAnswer, my name is XXXXX XXXXX X'm here to help get your problem resolved. Ask follow up questions, thanks.
Disconnect the transfer case encoder motor harness. Check for B+ at the Orange wire. Check resistance across the encoder motor lock circuit. Should be 20-80 ohms. Reconnect and back probe the Tan wire and check for voltage. Ground the Tan wire and check for the motor brake inside the encoder motor to click and engage. If the circuit operation is OK, repeat tests at the Transfer Case Control Module (TCCM).