Yes, both have to be open for you to escape and survive.
A locked room has to be open at some point.
Antonyms