Uh, if two of them are mafia then the third person who is the real cop will be killed during the night.
But that would most likely get the other lynched.

Also please be aware that there is possibility of mafia godfather in this game. Yes it's complicated!
I was aware of possible roles he could be, I just mention them because I don't know who the doc is going to protect.