Working together

File locking

When two people change the same model, texture, or audio file, combining their changes may mean choosing one version and losing the other’s edits. Use a lock to let collaborators know who is working on a file before editing it.

Locks are advisory.
Cargo Bay uses Lore’s server-backed locks to record ownership of a file in the current branch. Other contributors can still edit, commit, and upload that file. Everyone needs to check and respect the locks.

From the desktop

Sign in and open a hosted workspace. Checking, acquiring, and releasing locks all require a connection. Choose a committed file that is included in your folder selection.

  1. 1

    Check before editing

    Open Repository tools → Local-copy settings → Advisory locks and choose Check locks. The list is for the current branch and shows the owner’s account ID (or “You”), acquisition time, and last check time. If someone else owns the lock, coordinate with them before working on the file.

  2. 2

    Acquire the lock

    Enter the workspace-relative path in File to lock, for example assets/scene.blend, then choose Acquire lock. Confirm that the returned list shows you as the owner before editing. Cargo Bay checks ownership on the server and verifies the result.

  3. 3

    Share, then release

    Edit and commit; commits are shared as you make them. Once your changes to the file are uploaded and you’re ready to hand it over, return to Local-copy settings and choose Release beside your file. Cargo Bay holds the lock while a commit that changes the file is still unshared. Tell your collaborator to get the latest shared version before they begin.

From the command line

After enabling the CLI, use the same saved account and hosted workspace. Replace the path and filename with your own:

cargobay -C "/absolute/path/to/project" locks
cargobay -C "/absolute/path/to/project" lock assets/scene.blend

After editing and committing, release your lock. unlock refuses while a commit that changes the file is not yet uploaded; push --unlock uploads your commits and then releases your locks on the files they changed:

cargobay -C "/absolute/path/to/project" unlock assets/scene.blend
cargobay -C "/absolute/path/to/project" push --unlock
cargobay -C "/absolute/path/to/project" locks

If you abandon the work instead, unlock --force releases the lock anyway.

Coding agents can use these commands too, within the permissions you give them. Acquiring a lock does not commit or upload anything.

Ownership and scope

  • You can release only your own locks. Another contributor cannot acquire the same file’s lock while you hold it, but can still change and upload the file.
  • Locks apply to a file in a branch. A lock on one branch does not reserve the asset across every branch.
  • Release locks explicitly, or with push --unlock. Cargo Bay does not release them on sign-out, and provides no automatic expiry or administrator unlock control. Coordinate with the owner if a lock is left behind.
  • You can release your own lock even after excluding its folder or deleting its working file.

Check again when the result is uncertain

The desktop list is a dated observation, not a live feed. Check it again before acting; an empty list only means no locks were reported at that check. Reopening the view or changing branches or accounts requires a fresh check.

If a check fails, lock status is unknown. If acquiring or releasing fails or loses its connection, refresh the workspace and check locks again before retrying. In the CLI, run status and then locks. The server may already have accepted the change. Do not assume a disconnected command released the lock.

What is changing in Lore?

As of October 14, 2026, Epic’s Lore FAQ describes today’s locking as advisory. Its roadmap lists scalable locking as in progress, with enforcement and cross-branch scalability planned. Those plans may change.

This guide describes Cargo Bay’s current behavior. Enforced editing or upload restrictions and cross-branch reservation are not available in Cargo Bay today.

Coming from Git or Perforce