Hi Syed Hamza,
Thank you for reaching Microsoft Community. Apologies for the inconvenience this has caused you.
Please try running these steps below first on your Surface Laptop 4 then see if the issue persist:
1: Run Surface Diagnostic Toolkit
See: Fix common Surface problems using the Surface Diagnostic Toolkit (microsoft.com)
2: Check for Windows Update
Go to Windows Settings > Update & Security and select Check for updates
Make sure all updates need are installed including Optional updates
3: Run System File Checker Tool
See: Using System File Checker in Windows (microsoft.com)
If still the issue persist, please try the steps given on this page: Fix Wi-Fi connection issues in Windows (microsoft.com) under To run the Network troubleshooter and Network troubleshooting on your device.
Hope this helps.
Kind regards,
Marrion