t mobile note 4 on 5.1.1 dok2 not able to unlock

trying to unlock tmobile note 4 on 5.1.1 dok2, and it says unlocking failed, phone is rooted
need help on that