It is possible using code to allow existing group buttons to work but not to add or remove groups if that's what you want.
Private Sub Workbook_Open()
Dim ws As Excel.Worksheet
For Each ws In ThisWorkbook.Worksheets
ws.EnableOutlining = True
ws.Protect Password:="your password here", userinterfaceonly:=True
Next ws
End Sub