According to the Cambridge dictionary, to be "entitled" is "to feel that you have the right to do or have what you want without having to work for it or deserve it, just because of who you are".
In the context of your sentence, it means that people have the right to have their own opinions.
I'll list a few more examples.
"Those kids are spoiled and entitled, but they're parents don't care."
"Everyone is entitled to basic human rights."
"Your employer is entitled to ask for your references."
However,the word "entitled" can sometimes mean to give a title to a book or movie.
"Margaret Atwood's latest collection of poetry, entitled 'Dearly' was released last year.