The AC works fine for about 10 or 15 minutes. Then it starts blowing warm air. There is also a very brief smell of something weird. AC won’t blow warm air until the engine has cooled off.
You may have a heater control valve or blend-air door problem. There’s no way to say for sure without someone doing some diagnostic tests.