A lattice Boltzmann model with random dynamical constraints