the only way debranding a phone will lock it again is if the phone was unlocked via a patch, otherwise the unlocking is permanent