@Override
	public boolean isImmutableSettings() {
		return locked;
	}
Change the current settings lock.  Attempts to modify locked
settings will be ignored with a logged error.  This is done
to write-protect settings at the public API level.
@param lock true to lock, false to unlock
@return previous lock state
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeSettingsDB.java