Lock the wallet, clearing the decrypted master key from memory.
Declared in <wallet/wallet.h>
<wallet/wallet.h>
bool Lock();
true if the wallet was locked.