how will the weight of a 20 kg object change if it was in a lift that accelerates at 4 m.s?

That will depend upon whether it accelerates up or down.

The formula is
W = m (g + a)
a is negative if it is accelerating downward.

In this case, the "weight" is what a scale would measure inside the elevator ("lift").