Lockout-tagout (LOTO) or lock and tag is a safety procedure which is used in industry and research settings to ensure that dangerous machines are properly shut off and not able to be started up again prior to the completion of maintenance or servicing work. It requires that hazardous energy sources be "isolated and rendered inoperative" before work is started on the equipment in question. The isolated power sources are then locked and a tag is placed on the lock identifying the worker who has placed it. The worker then holds the key for the lock ensuring that only he or she can start the machine. This prevents accidental startup of a machine while it is in a hazardous state or while a worker is in direct contact with it.
Lockout-tagout is used across industries as a safe method of working on hazardous equipment and is mandated by law in some countries.