Answer:
The term that refers to that situation is ticking bomb scenario.
Explanation:
Ticking bomb scenario is a scenario used in ethics to discuss the use of torture. Is torture an acceptable means when it comes to a dangerous explosive that can kill thousands of innocent people? Is it okay to hurt one person in order to save other people's lives? If it is, does that mean some lives are more valuable than others? There is a lot to consider in this debate, such as the effectiveness of torture, the knowledge of that person really being a terrorist and so on.