Issues notification email

Good day, community, I have the following concern regarding an issue I’m facing when generating account lock notifications due to Brute-force Protection. When I lock an account for a user connected to the database, the email notification is sent correctly. However, when I lock an account for a user connected via LDAP, the email notification is not sent. Has anyone encountered this issue? Best regards.