How to Hide Certain Pages from Certain Users (WP Dashboard)

How to Hide Certain Pages from Editor (WP Dashboard)

There are instances wherein there is a need to hide some pages from certain users because we don’t want them to edit those pages.

Code snippet:

[insert-code id=1]