Protect state transitions with an `NSRecursiveLock`
Protect state transitions with an `NSRecursiveLock`

KimBin/TransitionKit,blakewatters/TransitionKit,arturgrigor/TransitionKit,sunfei/TransitionKit,0xced/TransitionKit