Do people just walk into your house like they do on TV ?

You see this all the time in Sitcoms and movies....Some friend just opens the door and walks into the apartment or house.
I am not a fan of that.
I'm not in a bad area. I'm on a dead end street and we don't get much traffic. Our garage door is usually open and used as the main entrance so friends and family come in that way.
I have a few friends that do this. It isn't like I'm naked on the couch when they show up but it still is annoying.
There is a standard understanding with everyone that comes here. Call or text when you're on you're way. Almost everyone does do this so it isn't really a shock when they come in.
Still.....
Does this happen to you?