Error while doing upload at the begining

I searched the forum for the same error (happens all the time to new users) and here is the solution.
https://forum.arduino.cc/t/sudden-access-denied-message-between-uploads-ide-2-3-4/1355416