Study of the time-dependent CP asymmetry in D0 decays in the Belle II experiment