Can't upload to my nano only get error

Hello,

I could upload all the time when suddenly I got this error message when trying to upload to my nano
/////////////////////////////////////
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

Sketch uses 12028 bytes (39%) of program storage space. Maximum is 30720 bytes.

Global variables use 930 bytes (45%) of dynamic memory, leaving 1118 bytes for local variables. Maximum is 2048 bytes.

avrdude: ser_open(): can't open device "\.\COM10": Access is denied.

Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

Invalid library found in C:\Users\mvand\Documents\Arduino\libraries\grbl-mi: no headers files (.h) found in C:\Users\mvand\Documents\Arduino\libraries\grbl-mi

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
//////////////////////////////////////////////////

nano uses old bootloader on com port 10
scetch compiles fine

any help would be appreciated

AS I closed Cura it worked so Ultimaker Cura blocked the port thanks.