Unfortunately, there is no easy way to unlock a memory card once it has been locked. You can try formatting it, but in most cases this results in failure. This error is caused by various applications that have messed up the file system of the card. You should replace it because it's already in an unusable state.