> This makes it sound like unlocking a phone while you are still on contract would not be excepted.
You don't really own the phone until the contract that got you the phone is terminated. They agree to buy your phone for you if you agree to n-months of service.