A St. Petersburg man is accused of threatening a cop with a hatchet and putting another officer in a headlock.