First things first, keep in mind this won't allow ghosts to have pregnancies/babies by themselves, so you're going to have to rely on mods specifically for that or on creativity.
Nothing fancy just maxis security lock applied to more objects, I started because I wanted to lock the guitars, I ended up adding the security settings to a bunch of objects.