Add hints about locking issues as comments

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>