Hi @R081n ,
Thanks for your reply.
According yo my test, I got the same result.
Then I used Resource Monitor to find out which process locked the file, it was Outlook.
So I think it was a expected behavior, and as a alternative, it is recommended you attach the file by dragging and dropping.
If the answer is helpful, please click "Accept Answer" and kindly upvote it, this will make answer searching in the forum easier and be beneficial to other community members as well.