test for exast trueness, otherwise control.locked will evaluate to true if locked: "false" because of a user manually resetting it with a string instead of a boolean