This has its origins in London, UK and goes back at least 70 years. I heard it from my Dad and he presumably heard it from his.

It means "to fart" but in a way that is not obvious until the smell hits. The smell is truly criminal, hence the possibility in the eyes of the beholder that its origins may have included a victorian detention centre.
Cheez, lad. Did you just let Tommy out of Prison?

Goldfinger turned on the laser. "Do you expect me to talk?" demanded Bond. "No Mr.Bond" laughed Goldfinger, "I expect you to... fuck me, have you let Tommy out of Prison?"
by goody5 December 9, 2010
Get the Let Tommy out of Prison mug.