@doc_metadata(categories=['<STR_LIT>'])<EOL><INDENT>def wallet_lock(self, wallet):<DEDENT>
wallet = self._process_value(wallet, '<STR_LIT>')<EOL>payload = {"<STR_LIT>": wallet}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>return resp['<STR_LIT>'] == '<STR_LIT:1>'<EOL>
Locks a **wallet**

:param wallet: Wallet to lock
:type wallet: str

:raises: :py:exc:`nano.rpc.RPCException`

>>> rpc.wallet_lock(
...     wallet="000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F"
... )
True