lockToSchema

Backward compatibility: returns true if entities should be locked to schema.