Hi Amit,
We tried the solution provided by you.
It is working for some folders , not for all.
We have changed the everyone user group from view to no access, but still user is able to see the folder.
The below image shows the access level at root folder.
May be issue is the user is part of "everyone" who has view access in another folder that is creating conflict.