Option Explicit
Sub AndHowYouUnprotectThem()
With ActiveSheet
.Cells.Locked = False
.Cells.SpecialCells(xlCellTypeConstants).Locked = True
.Cells.SpecialCells(xlCellTypeFormulas).Locked = True
.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End With
End Sub