Add unlock command, closes #2