How to open a password protected pdf file in LibreOffice?

I have LibreOffice Version: 5.0.4.2 installed on a Windows 10 Home laptop. Whenever I try to open a password protected pdf in LibreOffice, I get two error popups saying -

Version Incompatibility. Incorrect

file version.

and

General Error.

General input/output error.

Can someone please guide me here?