This article explains how to connect AirPods to a Windows 10 PC via Bluetooth.
How to Connect AirPods to PC (2022)
The method to connect Apple AirPods is the same as adding any other Bluetooth speaker or headphone to a Windows computer:
Select the Action Center icon in the lower-right corner of the Windows taskbar to open the Windows Action Center.
Select All Settings in the Windows Action Center.