On $$k$$k-resonance of grid graphs on the plane, torus and cylinder