Yes. In Canada, the phones are not locked, but if you terminate your contract before the term (max 2 years) you have to pay the remaining cost.
I ask this out of genuine curiosity - I’m not sure what happens in the US either, I don’t believe they brick carrier-locked phones that a customer stops paying for but I’m not sure. But I’ve enough experiences with enough people to know this is probably actually a fairly common scenario and I wonder what the consequences are. (A surprising amount of the time, there are no real consequences.)