Windows 10 comes with a pretty useful AutoPlay feature by default. Using this you can decide and set a default automatic action when you connect your Memory card, Removable USB drive, and any device like your phone to your computer. You can enable, disable and configure Autoplay in your windows 10 computer by using settings app and control panel.
Using Settings app:
Open Settings app in your Windows 10. To open the Settings in windows 10 1909, click the start button and select the Settings. It will open the Settings app. Then click on Devices menu. Then select AutoPlay from the left side sidebar menu. It will open the AutoPlay configuration page.