I have read legal thrillers that have a murder near the start of the story, which would suggest they are mysteries, yet I can think of others that do not have a murder at all, or, if there is a murder, it occurs later in the plot (like mine) or the characters and reader are unawar