Transaction Locking with the dynamic date

Transaction Locking with the dynamic date

Is it possible to dynamically update dates on transaction locking. We want to lock transaction x days from today