added support for data-locked=true next to locked=locked attr. fixes #503.