A signed transaction should be locked before the referenced transaction is finalized, this will improve the performance and client user experience. A potential atomic swap operation could be unlocked after this implemented.