[new] port of notification lock (file repo implementation)