Created a Lock property in IRebuild

Locked IRebuilds cannot be modified.