Pin Windows Permission

How do I automatically enable pinned window mode on my screen? Like the picture below: