That is the default setting, so you don't really have to specify it, but if you'd still like to do so:
Sub ProtectAllSheets()
Dim sh As Worksheet
For Each sh In Worksheets
sh.EnableSelection = xlNoRestrictions
sh.Protect Password:="password"
Next sh
End Sub