code: def test_locked_balance():
      wallet = Wallet(exchange, 10000 * USD)
      wallet.deposit(
          quantity=Quantity(USD, 500, path_id=path_id), reason="test"
      )
      wallet.deposit(
          quantity=Quantity(USD, 700, path_id=other_id), reason="test"
      )
  
      assert wallet.locked_balance == 1200 * USD
  
file_path: tensortrade/tests/tensortrade/unit/oms/wallets/test_wallet.py
imports: import pytest
  import unittest.mock
  from decimal import Decimal
  from tensortrade.core.exceptions import InsufficientFunds, IncompatibleInstrumentOperation
  from tensortrade.oms.exchanges import Exchange
  from tensortrade.oms.wallets import Wallet
  from tensortrade.oms.instruments import USD, BTC, Quantity, ExchangePair
label_desc: Use image node_id 7 for calling a global function with example usage: test_locked_balance() without return types