To be locked in a room indicates fear to the dreamer. The room sometimes can be used as a symbol of a woman, so in turn the analyst must study the dream carefully.