Tip Flags are merely variables whose values are watched for use in conditionals. A variable named doorLocked
could be considered a flag; if doorLocked is true, the user will not be able to interact with the doorknob to open the door.
If doorLocked is false, not only could the user open it, but other events (such as randomly spawned monsters coming
through the door) could be generated as well.