I create a raw transaction on node_1 and I set the related UTXOs in lock state in order not to be selected by other processes.
The selected UTXOs are in lock state as I can check using listlockunspent.
After that I sign the transaction offline using an external private key and I sent the signed tx on node_2. The transaction is minted and broadcasted in the network.
If now I send the listlockunspent command on node_1 I was expecting not to see the previous UTXO because they are still locked but not unspent anymore.
Is this the inteded behaviour? Could you please elaborate?