Sub Verrouille()
Dim Cel As Range
Dim Plage As Range
Dim Mg As String, TB
With Sheets("METRE")
Set Plage = .Range("A1:J20")
.Unprotect
For Each Cel In Plage
Mg = Cel.MergeArea.Address
TB = Split(Mg, ":")
If .Range(TB(0)).Value <> "" Then
.Range(Mg).Locked = False
Else
.Range(Mg).Locked = True
End If
Next Cel
.Protect
End With
End Sub