Lock the model

hello,

I am try to lock the model (part or assembly)

I want that the user will not can to select entities.

I was try the function modeldoc2.lock - it no good to me because the user still can the  select entities.

what can I do??

Sorry for bad English

Thanks allot

Beno

SolidworksApi macros