Format cells you want to be able to edit to be unlocked, cells you want to be protected should be formatted to be locked. Then enable protection