Question: I am trying to make a program that when a usb is plugged into the computer it will lock the usb, so it is not accessable, and then when the user enters the correct password the usb will be accessable.

Is this possible?

Any help would be appreciated,
Thanks.

Answer: 
I found several articles by googling "[usb policy c#](http://www.google.com/search?q=usb+policy+c%23)". [Here's the first one](http://knol.google.com/k/developing-usb-storage-device-protection-tool-with-c#) and it looks straightforward. The results also showed some CodeProject hits, which you can usually download and learn from.
Use something like <http://www.truecrypt.org/> - it ensures all data is inaccessible until correct password is entered.