Pen Drives are locked on software level. Means the settings done in the operating system. If you format it or re-install the same you can get rid of that issue. But do not forget to backup your files. I was lot more irriated with this issue. Some usb have inbuilt controller which locks the usb and you cannot remove that with any means. So in that case you have to provide the write password to unlock it.