Man accused of putting officer in a headlock