Oh! That may have been where I got stuck last night! Or it could have just been a puzzle I was missing. (I kept missing by one ring.) Was there any tutorialization of the mechanic?
It first happens on Level 18 and there's text on the right side of the screen explaining that a ring is locked while the cube is on it.
Ah! I must have ended on an earlier one. 😅