Fixed locking SD/MMC card

Some card's controller refused to lock the card because of a bug, only
some SanDisk cards worked before. I succesfully locked a 11 years old
card, so it works on every card now.