Kids interrupting your sex life!!!

Am I the only one that feels like your kids want to ruin your sex life!? The last 2 times my 9 year old has ruined my sex sessions. The first time she was turning the knob. The second time she got out of bed and starting messing around in the kitchen then went back to bed. I swear I am not loud because that is disturbing to a child. But I feel like she knows something is up! I also put her to bed and wait at least an hour when she’s for sure knocked out. Idk but I’m highly annoyed!!! Idk what else to do!?

EDIT: so there’s no lock on the door lol. I rent the apt and I block the door with something.. BUT hearing her on the outside of the door ruins the whole mood and my husband is done after that lol. He’s says it’s a real turn off to know tour kids are there which i totally understand 🤣