There is ways to program a raspberry P1 to jam signals for Wi-Fi maybe cell signals as well(I don't know how)
Either way I hope that was a joke about putting it in shul, it would not solve "the issue" but just the symptom.
Let alone potentially setting yourself up for disaster if/when people find out about it.
Whatever, just sayin...