The mayor of cities, the burgess in boroughs, the board of township commissioners in townships of the first class, shall have the power to prevent the mining of anthracite coal beneath the surface in any mine or mining operation in which the pillars of coal shall not have been numbered and the numbers thereof designated by maps or tracings as provided by this act; and where mining operations are being conducted in violation of this act, they shall have the power to prevent any miner or laborer, other than those necessary for the protection of life and property, from entering the mine or mining operation, until such time as the provisions of this act have been complied with.
52 P.S. § 665