Arduino - 'setLocked' was not declared in this scope