Can just one part of a document be locked?

Can just one part of a document be locked?

I am trying to create a template where certain sections can be edited but others are locked to editing. Is this possible?