Why don't they build a small shed Infront of the cave entrance and put a talisman in it?

The title.

If they build a shed and put a talisman in it right in front of the cave entrance so it's blocking their exit, how would the monsters go out?