LockTime in Electrum wallet is referring to the nLockTime field of the transaction. The base protocol dictates that the transaction cannot be included in a block until nLockTime. So this sets a timelock on the TRANSACTION not on the UTXO. To set a timelock on a UTXO, you need use either CLTV (BIP65) or CSV (BIP112).
I'm excited for MiniScript adoption as it can make it easier to create and share advanced timelock scripts.
nLockTime
field of the transaction. The base protocol dictates that the transaction cannot be included in a block untilnLockTime
. So this sets a timelock on the TRANSACTION not on the UTXO. To set a timelock on a UTXO, you need use either CLTV (BIP65) or CSV (BIP112).