What do you mean by "lock"? Lock them at design time so they don't get moved
(in which case there is a Locked property in VS) or locked so the user can't
use them (in which case there is an Enabled property which can be set to
false to disable the control) or make them read-only (in which case use the
ReadOnly property).