The easiest way to convert Samsung Notes (.sdocx) to PDF is to use the app on your Android device and export it to PDF there. You need to be connected to the Samsung account for that.
If you cannot do this for some reason, you can extract the contents of the .sdocx file like any other ZIP file and look for the .xml file with texts, images, or multimedia files inside.