Shadows and lights appear in Viewport but not in Render
I found the problem with the sun's clipping, this might help you and others who have the same issue.
what I did:

Check scale
Check sun's shadow distance.
Look out for troublesome geometries this might have overscaled objects, micro objects, particles systems, hair, emitters, empty meshes, etcetera. normally you import objects from other softwares, in my case as an example I was using trees from forest pack, entities were there but empty, that caused my issue, I deleted them and it fixed the problem.

I hope this works.
now here is your problem:  you have this huge mesh outside the room :)
also you had a hidden geometry (the door's window), you have to delete it or desable it on render.