If any machinery, or any part thereof, is in a dangerous condition or is not properly guarded, the use thereof may be prohibited by the Secretary of Labor and Industry or his authorized representative, and a notice to that effect shall be attached thereto. Such notice shall be removed only by an authorized representative of the department after the machinery is made safe and the required safeguards are provided, and in the meantime such unsafe or dangerous machinery shall not be used.
43 P.S. § 25-7