How to lock and protect selected cells from editing in Excel?

How to lock and protect selected cells from editing in Excel?