@Override
	public boolean lock(String reason) {
		if (super.lock(reason)) {
			if (programUserData == null || programUserData.lock(reason)) {
				return true;
			}
			super.unlock();
		}
		return false;
	}
Translate language
@param translator language translator, if null only re-disassembly will occur.
@param newCompilerSpecID new compiler specification which corresponds to new language, may be null.
@param forceRedisassembly if true a redisassembly will be forced even if not required
@param monitor task monitor
@throws LockException if exclusive access is missing
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/ProgramDB.java