How to make elements not editable in visual editor

I don’t think this is doable on the default visual editor. You can try one of the plugin solutions out there. The most popular ones are:

One other approach to solve the problem is for you to create your own custom template. Then, you can have custom fields populating the content on the template:
https://developer.wordpress.org/themes/basics/template-hierarchy/
You will need PHP and WordPress developer skills to accomplish that. Good luck.

error code: 523