I wonder how much time the duct tape would have actually bought if he tried to open it anyway.
Same concept as putting high barriers on bridges, or selling paracetamol (acetaminophen) in smaller packs. These changes do nothing to stop someone who is committed to the act, but they provide a small energy barrier which can be enough to defeat the perturbations of a temporarily irrational mind.
As you say, it could be a compassionate aid to help a colleague deal with intrusive thoughts.