Taking apart a SD card with the intention of putting it back together (especially to replace the read-only lock) is a bad idea. You would have to glue it back together and there is the possibility that it won't fit in card slots and/or the shells would be loose enough for the read-only lock to fall out again. I know from experience and 10 years later, that SD card hasn't left its case which was still enough for the read-only lock to fall out.
Your best bet is putting a piece of plastic where the lock would normally be and hope it turns off the read-only.