> I think the idea is that it locks them out of owning real estate.

How does urbanism lock people out of owning real estate?

It doesn't have to, but at least where I live, urban means apartments, and the great majority of apartments are rentals, not for sale.