Spreadsheet .NET > Tutorial > Protect Worksheet

The following example shows you how to protect/lock a worksheet.

C# example
VB example