LPS-51975 add reentrant lock to public method to prevent concurrent modi...

...fication of notificationEvents