Locking FSMs via bitflags. Makes it possible to lock FSMs by their function rather than names.