How do I make a skylight only affect part of my map

the skylight by default would light everything in the world with the same light.

Take a look here: it is the documentation surround Light propagation volumes.

You could use it to block sky light travelling through the volume if placed between skybox and your room(do not cover your room in it)