You can try the following:
dotplot(car ~ mpg | as.factor(cyl), data=df, layout=c(3,1),
pch = 19, groups = carb < 2, col = c("blue", "red"))
groups carb < 2 . FALSE TRUE. , , carb < 2 - FALSE, () , 2 , .

?dotplot group :
A variable or expression to be evaluated in data, expected to act as a grouping variable within each panel, typically used to distinguish different groups by varying graphical parameters like color and line type.