The only place I know that allows you to move out early is school housing. As a student, if you graduate and find a job, you can move out without penalty.
Why don't you get out the lease agreement and go over it.
Some landlords don't even allow you to sublease.