I used to do something similar to that.
I have a longer stride than a lot of people, my old roommate included. So whenever we were both coming home at the same time, if I had a fart building up I would hold it until we were in the stairwell. He would end up walking right into it.