You are not required to unlock your mobile phone before giving it away or selling it. The new owner can benefit from the Bring your own device program without having to unlock your old phone.