private boolean setLockOwner() {
		Msg.trace(this, "writing lock data : " + getLockID());
		BufferedOutputStream fout = null;
		boolean success = false;
		try {
			fout = new BufferedOutputStream(new FileOutputStream(lockFile, false));
			fout.write((SystemUtilities.getUserName() + " " + getNextDebugId()).getBytes());
			success = true;
		}
		catch (Exception e) {
			// we will check 'success' later
		}
		finally {
			if (fout != null) {
				try {
					fout.close();
				}
				catch (IOException e1) {
					// we tried
				}
			}
			if (!success) {
				lockFile.delete();
			}
		}
		return success;
	}
Return the name of the current lock owner
or {@code "<Unknown>"} if not locked or could not be determined.
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LockFile.java