Thanks for clarifying that your Surface Pro only connects through Wi-Fi.
Since the error appears after entering your BitLocker recovery key, it may be related to the Windows recovery environment rather than your normal Wi-Fi connection.
First, try restarting your Surface and entering the recovery key again. If the error persists, check whether Troubleshoot > Advanced options > Startup Repair is available.
Could you also confirm whether the "Can't connect to network" message appears immediately after entering the BitLocker key, and whether the screen offers any Wi-Fi connection options?
If possible, please share a photo of the error screen, making sure your BitLocker recovery key and personal information are not visible.
Thank you for your time