The file is in use by another application, or an invalid lock resides on the file.
Restart or reboot the system to clear the issue. The operation should work fine after the restart.
Close all running applications to see if it releases the file lock. Be sure to save any work in progress before closing each application.
Check out what others say about this issue and review or add your own comments and solutions!