code: def test_locked_balances(portfolio_locked):
      locked_balances = [150 * USD, 0.75 * BTC, 7 * ETH, 262 * XRP]
      assert portfolio_locked.locked_balances == locked_balances
  
imports: import pytest
  import unittest.mock
  from tensortrade.core.base import Clock
  from tensortrade.oms.wallets import Wallet, Portfolio
  from tensortrade.oms.instruments import USD, BTC, ETH, XRP, BCH
label_desc: Use image node_id 15 for calling a global function with example usage: test_locked_balances(portfolio_locked) without return types