We are using delegate workflow task action to delegate the tasks automatically after some time. User is getting email notification once delegation is done and in email we are providing "ContextItemURL" to approve/reject the task. If they try to approve/reject they are getting "Task is locked by running workflow" error. But after 5 minutes if they try again its working fine.
Could you please let me know is this default behavior or anything wrong with environment ?