Access is denied. (5) message in DOpus 12 with OneDrive but not with File Explorer

Strange access denied errors in document folders, for some software and not others, are often caused by poor antivirus, and Defender's "privacy guard" feature in particular: