I think this is the same piece of software I used. I currently don't have a locked USB drive so I can't be sure.
It's freeware available here:
The USB Disk Storage Format Tool is a freeware program that allows you to format a USB drive using FAT, FAT32, NTFS, and EXFat file systems.www.bleepingcomputer.com
One thing, VRAM is kind of sensitive. You shouldn't use this or any complete format program or routine usually, a quick format is all flash memory requires and will extend it's life.
Depends on what caused the LOCK, my self i use Hard Disk Low Level Format, for reset the USB to dafault, then format as fat32, never fails and I have saved many USBs that way for clients that "mess them up"I get USB drives locked with OEM operating systems all the time. I have the software installed at work but I can't remember what it was. I do know it was free but the info was hard to find. The registry trick didn't work for me.
I know it's kind of lame but I will post the name and a link to download the software Tuesday morning when I get into work again. It's real brute force format software.
Let us all know if you find the answer sooner.
|O||Looking for a Tosh 600 Satellite Series Boot Disk/Iso For Wind 7 Home Prem 64bit?||Windows 8 and 7 Software Chat and Support||3|
|"the disk structure is corrupted and unreadable"||Windows 10 Help and Support||2|
|WinDirStat - What happened to all my disk space?||Windows Apps||1|
|W||MiniTool Power Data Recovery Boot Disk 6.8||Windows 10 Help and Support||1|
|J||svchost.exe (localsystemnetworkrestricted) high disk usage||Windows 8 and 7 Hardware Chat and Support||0|
|5MB Hard Disk (1956)||Free Pictures||11|
|I||Installing XP SP3 on a formatted Hard Disk||Windows 8 and 7 Help and Support||2|
|WiNToBootic, Windows To Go Boot Disk [Freeware]||Windows Apps||0|
|X||Auslogics Disk Defragment Pro||Windows 8 and 7 Help and Support||2|
|M||usb disk security serial key 18.104.22.168||Windows 8 and 7 Help and Support||3|
|Apple Follies Part Deux||Smartphones and other Devices Chat & Support||0|
|F||Trance Remember Mix -Part 6-1994-2002||Youtube Music & Videos||1|
|F||Trance remember Mix- Part 5- 1994-2002||Youtube Music & Videos||0|
|F||Trance remember mix part 4 -1994-2002||Youtube Music & Videos||0|
|F||Trqance Remember Mix- part 3 - 1994-2002||Youtube Music & Videos||2|
|F||Trance Remember mix- 1994-2002 - part 2||Youtube Music & Videos||0|
|B||W10 Event Viewer Event ID: 19 error||Windows 10 Help and Support||5|
|A||ERROR "Activate your windows 10" though I purchased it||Windows 10 Hardware Chat and Support||2|
|R||Premiere Pro CC error on startup "Adobe Premiere Pro could not find any valid editing modes."||Windows 8 and 7 Software Chat and Support||1|
|M||Photoshop CC 2019 Install error 72||Windows 10 Help and Support||17|
|J||KMS Auto Net Office patch error code 0x80041002||Windows 8 and 7 Help and Support||0|
|A||AutoData 3.45 problem error sentinel key not found.||Windows 8 and 7 Help and Support||5|
|R||MS Office 2016 KMS error message||Windows 8 and 7 Help and Support||2|
|P||Error when trying to run Adobe Premiere||Windows 8 and 7 Help and Support||3|
|T||Autodata 3.45 Error||Windows 8 and 7 Help and Support||0|
|S||Adobe Photoshop CC Portable 2015 Error||Windows 8 and 7 Help and Support||7|
|D||ERROR/CRASH when creating/merging Letters under "Mailing"||Windows 8 and 7 Help and Support||0|
|A||WINDOWS XP INSTALL CHKDSK ERROR||Windows 8 and 7 Help and Support||1|
|H||Photoshop CC 2015 Portable - Damaged error||Windows 8 and 7 Help and Support||4|
|A||Office 2016 pro activator solution for error code 0xc004F074||Windows 8 and 7 Help and Support||7|
|B||Starters Orders access error||Windows 8 and 7 Help and Support||1|
|T||Win8 Activation Error||Windows 8 and 7 Help and Support||1|
|T||Win8 Installation Error||Windows 8 and 7 Help and Support||3|
|M||Internet Download Manager ERROR||Windows 8 and 7 Software Chat and Support||3|