The subject of defeating machines or their safeguards is of value in order to avoid accidents. In other words, if the machine is not properly designed and people try to strive for defeating the machine to win higher performances, accidents are unavoidable. The vicious circle starting from design-flaws and ending-up with defeating (or sometimes accidents) is shown through the figure below.
There are some examples to deal with this matter such as use of transparent guards, use of protective mode, actionable (light) barriers, or monitoring the change state shown through this presentation. Read more about this subject through this link.