Yes, Samsung Galaxy M10 supports OTG. USB OTG or USB On-The-Go is one of the most recent technologies that allows you to connect your pen drives and in some cases hard disks to your smartphones and tablets. It has a cable and through that cable, you can directly view and use your pen drive in your smartphones.
Samsung Galaxy M10 is an amazing budget smartphone which has won hearts by its elegant design along with strong configuration at such an affordable price. It has been "Out of Stock" for a while, but it available on Amazon now.
You can see detailed specs here: Samsung Galaxy M10