The role of the local conservation laws in fluctuations of conserved charges