Narcotic detective hold back vital information

Should a narcotic detective hold back vital information on a case to protect someone they care for?