Dua Lipa has learned to be "more open" with people because of her songwriting, after previously finding it "daunting" sitting in a room to write music with her collaborators.