How Can We See A Closed Door As A Blessing From God?

How Can We See A Closed Door As A Blessing From God?