Section 122(2) in The Karnataka Prohibition Act, 1961
(2)If a riot or unlawful assembly is imminent or occurring, it shall be lawful for any Magistrate or Police Officer, who is present, to direct that such place shall be closed and kept closed for such period as he thinks fit.