Martin:
Did you migrate these documents into a web project or a normal Alfresco space?
If migrated to a web project, assets can be written to the CIFS interface which does not enforce locking on assets upon create or modification. If migrated to a web project view our APIs, you can create or modify files using AVMService (does not enforce taking of locks; this is the service CIFS is mapped to and is useful for developers who may need to make concurrent modifications to assets, which is support server-side as we are a Subversion-style versioning repository) or AVMLockingAwareService, which wraps AVMService and enforces taking of locks (used by the web client, which is critical for business users to ensure that they never simultaneously modify the same asset as another user to avoid conflicts, merges, and overrides). If you do use AVMLockingAwareService, you can either (a) change to use AVMService (b) use AVMLockingService to remove the locks or © submit the assets from the user sandbox in which they were created to the staging sandbox, where that promotion will automatically releases locks once that assets are committed and snapshotted in staging.
Hope that helps.
Kevin