How to light areas only when player can see them?

Hello.
I’m posting here because the Unity Ask/Answers didn’t work, it gave me bad request or something.
I’m new to Unity and programming, I have followed nearly through live training and I think that I can make simple projects to learn coding now.

What I’d like to do now is isometric / topdown game, where player can’t see through obstacles so the area behind them is black/dark. The walls/obstacles should be visible so the player doesnt have to search for opening in wall etc. Here are few example games:

And here’s my awesome paint drawing:

How can I make something like this? I want to make it 3D, not 2D.

Someone?

Put a point light on the player and set the scene lighting to zero.

That kinda works, but point light isnt evenly lighting area and shadows look weird.
And what if I want player to know that there are those “cubes” even when area is dark ?

I’m not quite sure what you mean, but maybe you’d want two or three lights on the player, say one offset a little from the left of center and one a little from the right?

I want to make exploring areas similar to that video TK (Tapan Kaikki) 4 Bloodshed.