The lock mechanism works as follows during a transport:
A package cannot be exported if even a single object in the package is locked. A list of the locked objects is displayed together with the corresponding users.
All objects to be imported are locked while the import is running. This prevents the same package or two identical objects from being imported twice.