Ability to set locked state of time

Ability to set locked state of time