In the last few years almost every time a memory card has failed on me it’s for the same reason - the lock switch gets stuck to locked rendering the card useless, destined for the bin.
but locked to a value of 9, mandating a fixed size of 512 bytes per block. Two formerly reserved bits are used to indicate card type to the host, with standard SD cards using a value of 0 ...