fix: check if lock is forced in notify method

Signed-off-by:Eric Villard <dev@eviweb.fr>