When a file is opened by another app, Windows 10 places the file in a locked state, which prevents it from being changed or deleted.