Using a model of long-range interactions between vortices, we investigate numerically the alternating current (ac) response of two-dimensional vortex lattice with randomly distributed point-like pinning centers. Mode-locking steps are observed in the simulated current-voltages characteristics, and the number of steps increases with the superimposed ac amplitude and frequency. Our results are in good agreement with recent experiments.