in iOS 26 and iPadOS 26, the default for the Wired Accessories setting is to Automatically Allow When Unlocked. You can ...