When you pin a tab, you make sure that such tab will not be automatically closed, when the editor starts closing the editor tabs automatically. Besides, when you close the editor tabs, you have an option to preserve pinned tabs opened and close only the unpinned tabs.
When a tab is pinned, its header is marked with the
icon.
The pinned status of a tab is helpful when you open a file for reference, rather than for editing.