The question of whether God can make a rock so heavy he couldn’t lift it is a physics problem. The greatest mass any rock could have is infinite, which God being omnipotent, could create. The greatest force is an infinite force, which, again, God could create. The question then becomes: what happens if an infinite force meets a (stationary) object of infinite mass? (The problem is usually stated as: what would happen if an irresistible force met an immovable object?)
We remember from our physics classes that force = mass x acceleration (F = ma) The acceleration is the rate at which the object moves when a force is applied to it, so it’s the acceleration we’re interested in. Solving the equation for a gives: a = F/m (acceleration equals force divided by mass).
Now, as both F and m are infinite, a = infinity / infinity. Mathematicians call this an indeterminate form, which means you can’t say one thing nor another about the matter and therefore no logical conclusion can be drawn from it. Atheists try to say both one thing and another about it and conclude that God can’t be omnipotent. It is an example of a sophism, i.e. an argument that appears logical at first glance, but proves false after a closer look.