A good mystery can be fun to read and even more fun to write, just be sure to give a heads up so that your readers can anticipate or expect it. Like, maybe add a mystery tag to your novel.
Oh and a bit of advice, if your readers start to predict where the mystery will lead, don't change course...