Azure SQL logins associated with Azure AD can be configured with smart lockout as explained here.
A possible solution for SQL logins (non-Azure AD logins) could be to configure Azure SQL auditing as explained here. You can read the Audit entries from Azure Storage Account as explained here and then issue ALTER LOGIN DISABLE for those logins exceeding X failed login attempts. You can automate the process using Azure Automation.