Go to the Bluetooth settings on your device, select your AirPods, and toggle off the automatic ear detection option.