Here is an informal sketch of a state diagram showing the effect of locking a door (it cannot be opened in the locked state):
Here is the definition of the same state diagram using the notation of the LTSA tool:
UNLOCKED = (open -> OPEN | lock -> LOCKED),
OPEN = (close -> UNLOCKED),
LOCKED = (unlock -> UNLOCKED).
How would you model this system using the FSM formalism (with input and output messages) ?