It’s a scene likely from some 60-s-70s spy thriller (though I’m not ruling out it could be newer, up to the early 90s). The movie was most likely in English language. I’m also not ruling out the possibility it could be an episode of some TV series.
It’s not The Return of Dr. Mabuse (1961) or Dr. No (1962).
It’s most similar to a scene from The Drowning Pool (1975). But from what I remember the difference is in the movie I am looking for the room could be entered directly from the street and it had something resembling a ship door (and perhaps it could only be opened from the outside)? I don’t remember if one or two persons were trapped.