New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Assuming the hardware 'lock' slide is absent/in the right position, one person here just used another device to reformat it:
http://www.tomshardware.com/answers/id-1943542/unable-format-write-protected-memory-card.html