You're welcome:)
The code you provided doesn’t assume that the player could’ve asked any kind of question starting with the word “where”
Yes, but you could have several keyword checks:
if (toldAboutMurder && message.Contains("where") && (message.Contains("murder") || message.Contains("kill")) { ... }
Have you played "Her Story"?
It's purely keyword based and there are absolutely no restrictions to what you can request at any moment. It will provide you with the first five search results, which means common requests like "where", "murder" will most likely lead to earlier story responses and to get to the later ones you naturally need to ask for something more specific. But still, the game doesn't restrict you from accessing the "later" story, you could just randomly stumble on it at the beginning, but you won't understand it yet, so you still need to "explore" a lot to be able to puzzle together what happened.
Yes, I absolutely loved it!