A proximity mine; a mine that explodes when something approaches within a certain distance
If you get too close it'll trigger. Shoot it from a safe distance and it will blow up. Leave the room and go through the door that was previously protected by a proxy mine.