Yes, if a USB drive include autorun.inf, Windows 10 will run automatically when external drive connected to OS.If customer wants to customize Autorun.inf files or disable AutoRun settingplease follow below Microsoft learning document Customize Autorun.inf optional information:Creating an AutoRun-Enabled ApplicationEnalbe/Disable AutoRun settingEnabling and Disabling AutoRun