If you want, you can control your USB port in your computer.Generally it's done by BIOS. But if you want, you can perform it by windows registry. Just follow this procedure to perform that :-
First of all go to the windows registry. And then change the following value :-
HKEY_LOCAL_MACHINE > System > CurrentControlSet > Services > USBSTOR > from the right panel select the "start" key and double click to open it. After the open, then change the vlaue data from 3 to 4.
Now the USB service is disable. Nobody can't use the any kind of USB device. To enable the USB service change the value from 4 to 3.
[Note] :- For go to the windows registry press "windows key + r" from keybord and then type "regedit" . Pls. backup the registry before implement the any kind of command. So that if you occurred any unexpected error or value change witch you don't know, then, you recover that from backup registry. To backup the registry click File > Export > Then save any location on your hardisk. And to restore your previous backup registry Click File > Import > Then select the location of backup registry.
Thanks.