If you only read Hacker News you might think WfH is dead, and it might be for FAANG-ish companies, but in my industry it is still as remote-centric as it has been since 2020. I see people hired every day and we don't even have a sales office in that entire state.
So yeah, having a locked-in 2.75% 30 year mortgage is going to encourage you to stay put, but that's probably a net positive thing for society because you are going to be more invested in the the success of the school system, and the local library, and getting to know your neighbors.
And if you're on the wrong side of the interest rates right now or need to move, maybe you have to rent for awhile or buy a more affordable house than you expected. That's nothing new and eventually things will revert and you'll be the next low interest 30 year mortgage homeowner. The banks will continue to win.