system
A chat on subreddit /r/NoStupidQuestions
human
You shouldn't live anywhere that you have to lock your bedroom door when you sleep.

If there's a fire, and you don't wake up, you're impeding the ability of would be rescuers to save you.

If you can't trust the people you're living with not to rape you in your sleep, live somewhere else.
gpt
One of my friends lived in a shared house and said one of the guys would go into her room when she was out so thats the case for having a lock.

That said in my late 20s I shared a house with two women. There were no issues and I became friends with one.  Then a couple of room mates came and went and other than getting the cleaning rules straight there were no issues.  But after I moved out the woman who had organized the rental ended up with the roommate from hell.  She got her boyfriend to move in with her and by the end my friend felt unsafe at the house and couch surfed for the last month (until the roommate from hell moved out).