// Lock these elements against movement
eles.lock(): thisLock these elements against movement. A node locked mid-tween holds where its position tween got to; the rest of the animation — other nodes, and this node's paint channels — runs on, and unlocking does not resume it.
Returns
thisthis collection, for chaining
Example
const node = cy.getElementById('a');node.lock();console.log(node.locked()); // true