Also you can stick the pragma **{.warning[LockLevel]:off.}**
inside the effected proc as its first line.
I also noticed that having a proc field in the method receiver seemed to be
related to the problem. Anyway, adding the pragma **{.locks:0.}** to the
declaration of the field got rid of one of these warnings - but did not seem to
work on others.
Oh well...
BTW it is .locks and not .lock
