To be honest... I've never ever heard of this question before... I assume it's theoretically possible but I don't think anyone would ever want it? An unlocked phone means you can use it with any carrier, that includes the original carrier. Thus, an unlocked phone is strictly better than an locked one.
Why do you want your phone locked to a single carrier again?