US mortgages are unique I believe. Canada does 5 year fixed and you refinance at the current rate.
I believe the US mortgages work because of Fannie Mae/Mac and a market in mortgage backed securities ( MBOs? I thought they caused the 2008 crisis but I think they are still a thing with better risk management, I dunno?).