Get isLocked status.