My somewhat anecdotal observation is that a lot of access has been tightened down. Some happened during COVID and was just never removed. It definitely varies. The campus I'm most familiar with, you could wander pretty freely and that's less the case today.
I feel really sad about this -- I was amazed as a child to learn that I was allowed to just... GO IN to buildings and lectures as long as I was quiet and respectful. I always took pride in my university's openness.
Then I took my boyfriend for a tour a couple years ago and found all the buildings had signs warning that access was only permitted with a University ID card. Nobody challenged us or kicked us out, but it was a sour demoralizing shock.