Deputy pleads guilty to lying to the FBI