Simple, select the controls / indicators on the front panel you want to lock, press the reorder button on the labview toolbar (furthest button on the right) and select Lock from the list of options that appear.
To lock the entire front panel and block diagram, go to File >> VI Properties and select the Security category. From there you can select one of three options to protect your program.