Deleting a Hybrid part from a Document keeps references to that until the main Document is released.
If a user deletes a Hybrid part from a Document, the same filename cannot be created in the same folder, up until the Document is released.
The lock should be released with the deletion of the part, not on the Release of the Document.