Some of the McDonald’s around here have automatic locks on the bathroom. You have to go to the counter and ask for it to be unlocked.
I live near a small town in Oregon. Drugs are a serious problem there, possibly because there are few recreational opportunities and fewer jobs. Most young people move away.
All of the fast food places have push-button locks on the restroom doors.