Run the engine and close doors

Hello in the round, I get my TC Sport Plug-in Hybrid in April. Can anyone tell me if I can run , as now with my S-Max , the vehicle , engine , and lock the vehicle ? Since we have a dog and this is often on board , I want to know that . When shopping in summer this is very convenient , motor run and air conditioning on and yet the vehicle is closed .