Tips for Locks

The example LockExample (in BE_HOME/examples/standard) demonstrates these points, showing use of locks to prevent race conditions.