Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim r As Long: r = Target.Row
If r = 1 Then Exit Sub
Me.Unprotect "password"
If Cells(r - 1, "A") <> "" And Cells(r - 1, "B") <> "" And Cells(r - 1, "F") <> "" Then
Cells(r, "A").Resize(, 10).Locked = False
End If
Me.Protect "password"
End Sub