While you can sell a locked phone, certain payment plans or structures might stipulate that you can't unlock the device until it's paying off fully.