Update index.js

You can now 'lock' a draggable element by adding a class called locked.