The function of proximal grooves in a class II cavity is:
Secondary retention and resistance form

Retention grooves and locks are placed in the proximal box
Resistance form
Retention form
Increases strength
Resistance and retention form