How do I stop my AirPods from automatically switching between devices when using iOS 14?
To turn off automatic switching, go to Settings &gt; Bluetooth, tap the ⓘ button next to the name of your AirPods, tap Connect to This iPad, then tap When Last Connected to This iPad.

https://support.apple.com/guide/ipad/ipada7cde3c3/ipados