Will having both USB and 5V power active cause problems?

Hi Seeed_Harrison

Is there any way to disconnect the power from the Seeed XIAO RP2040 USB connector when the device is connected to a USB port?

I need to have power from USB, but if USB power is disconnected then I need fail safe power fall back to be from the external power source.

Would I need to have another usb connector with a circuit to select the power source, which then connects to the Seeed XIAO RP2040 usb connector?

Sort of like a pass through like this hdmi pass through?

https://vi.aliexpress.com/item/1005005102753497.html?spm=a2g0o.order_list.order_list_main.11.27631802Z7cTOV&gatewayAdapt=glo2vnm

Thank you.