I think notepad and other txt utilities makes an in memory copy of documents when you open them so they can open files with write locks, but the agent doesn’t do that because it doesn’t want the memory penalty and so it can’t open a file with a write lock…
I think you would have to make a copy of the file with an action and then read the copy in the property…