If you're using a Pro copy of Windows 10 you can enable GPOs to prevent write or all access to USB devices. This is meant to block users from taking data off of company computers. There is no free program to allow the amount of control you are asking for. What you're asking for would require creating some file system filter drivers.