protect certain cells in excel

how to lock cells in excel 2007
how to protect cells in excel 2010 without protecting sheet