Hide & Lock your drives
Open Registry Editor (go to run command, type "regedit" and press enter)
then go to this keyHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
now right click in right side pane and create a new DWORD Value
Rename it as "NoViewOnDrive" (for locking drive)
or
Rename it as "NoDrives" (for Hiding drive)
double click on it and put some numbers to lock your desired Drive and click OK.DRIVE NOS.
FOR A : 1
FOR C : 4
FOR D : 8
FOR E : 16
FOR F : 32
FOR G : 64
FOR H : 128
Finally restart or log-off the computer to take effect.
Keep in mind that "0" is Default Value to Disable or remove this setting..
After locking the drive when u try to open it, u will see a message box like this