Added unlock function

Now you can unlock the SD card after locking it. The code is stable now
and should work on any SD cards, lets hope that it will also work on
3ds.