Lock&Unlock state machine data