I've just come across an issue with a workflow that is triggered from an entry created rule.
The first activity in the work flow is a SDK script that operates on the starting entry, it does some processing and then attempts to save the entry. At this point workflow generates an entry lock violation exception [9014].
This happens regardless of whether I'm uploading the document by dragging it onto the client or have Import Agent do the import.
Essentially the rule triggers the workflow before the lock is release from the import.
I've been able to get around it by locking the entry during the SDK script, but I think it might be preferable to delay the triggering of a workflow until the lock was actually released.