Anyway, in general, by getting into a slight sideslip left or right you may be able to subtly alter the airflow over the fuselage, making the door close of its own accord
Not good advice for an obviously low time fresh PPL. Distraction & uncoordinated flight & fresh inexperienced pilot = potential trouble.
Nobody has died from having a door open in flight. Plenty have died trying to close them... Food for thought.