I don't know if you can disrupt an infrared beam without triggering the explosion.
It works like a burglar alarm, a beam that goes across a doorway. Once the beam is broken it triggers the bomb.