time lock

Test functions