If you had a one year lease and you moved out at the tenth month I can see why your landlord would want the other two months as payment, but at that point your lease would be up.
I mean, I don't see any way that the landlord could charge you for time beyond what your lease required you to stay.
I am NOT a lawyer or anything, I am just throwing in my two cents.

