Add support for ticks in timelock