The get_locked_amount method returns the amount of a coin which is currently locked by a swap which is in progress. If the coin is not activated, a NoSuchCoin error will be returned.
{"mmrpc":"2.0","error":"No such coin: TIME","error_path":"lp_swap.lp_coins","error_trace":"lp_swap:486] lp_coins:2894]","error_type":"NoSuchCoin","error_data":{"coin":"TIME"},"id":42}