Lock from selecting in viewport but keep visible?

Heyo!
Maybe my free plugin will help you, check the answer