what is a timelock contract 
a timelock contract is a smart contract embedded in a blockchain that executes a transaction at a specific time they are used in hashed timelock contracts and payment channels where specific payment times are needed 