You can’t access this shared folder because your organization’s security policies block unauthenticated guest access
This is the prompted error message
So I found that this access is blocking from the local group policy and I opened the Run window (Win + R) and typed gpedit.msc to open the Local Group Policy Editor.
Navigated to Computer Configuration -> Administrative Templates -> Network -> Lanman Workstation and selected the Enable insecure guest logons as shown in the below screenshot
By default it was disabled and I have enabled the policy