This will depend what OS you are running, if you have a PC with windows XP you can open a cmd prompt and type unlock x: or whatever letter your locked drive has.
otherwise you'll need the WD smartware software or other 3rd party HDD tool that supports locking / unlocking of hard drives