Is there any way to trap someone’s soul?


I’m playing a wizard and I really want to trap someone’s soul. I’ve thought about casting glyph of warding using magic jar, but I don’t want them to be able to escape. Is there any way to do this without them being able to escape? I want the classic “soul trapped in an object” feel.