I'm am not a property lawyer but I assume that's the case here. I assume were I to sell my property, the buyer couldn't unilaterally forbid my (now different) neighbor from using my driveway and, if they were to sell, the new neighbor couldn't forbid me from walking down to the river. Fortunately, people are pretty reasonable around where I live.
In my case I own land where certain parts cannot be logged beyond removing hazards. The deed for the land included the restriction, though my lawyer was at a loss as to who would seek to enforce it.
I assume that this is also how conservation covenants work. A new owner doesn't get to say "just kidding" and develop land that was turned into a property allowing public use with use restrictions.