As a child I read a SciFi short story where I think two astronauts (emergency?) landed on a planet, and as soon as they fell asleep they began to be controlled by the local (immaterial) species. The protagonist fights to not fall asleep, and the story ends with him finally surrendering, if I remember correctly. The airlock also could have played a role, but I'm not sure.
These are very vague memories, must have been in a short story collection from the local library, and it was probably late 80s or early 90s when I read it.