If it was me, it sounds really nasty but I'd put one of those locks up the top of the door - no difference to holding the door shut, except you get a break from the possibly screaming child - much better for your sanity.
We've just started putting our 19 month old in his bedroom with the door shut for biting and hitting and it's really making a difference.