In the properties window for the form set the FormBorderStyle to one of
the "Fixed" options. FixedSingle, Fixed3d etc. If you also want to
prevent the user from moving the form then set the Locked Property to True
If I am not mistaken, the Locked property only affects the design time state
of the control ie. the form cannot be resized in design mode this has no
effect on the runtime form.