How to avoid 3rd party reading code from flash

Using J-link programmer, I try to figure out how to set some kind of security bit to avoid 3rd party reading code from flash.

If you could please return me a helpful link.

Thankyou

Kim Hansen