The police can lie to you but if you lie to the police you can be charged with obstruction of justice (which I believe you should be if you knowingly do it). The police and government officers and officials should be charged with obscuring the truth if and when they knowing spread falsehoods and lies. Because of the imbalance of power and consequences, it's rarely, if ever, a good idea to talk to the police (and this is a shame).
Or when police lie about an accomplice having cooperated and implicating the suspect - so hey you should help us out to and save yourself.
Or when police pretend to be hitmen, seeking payment for murder. Or when police pretend to be drug dealers. Or when police pretend to be terrorists or weapons smugglers or or or or.