Freedom of speech is important but police forces should be able to make operational decisions about who and what they investigate, Dame Diana Johnson said.