IP Lockout + Load Balancer?

I saw the new IP Lockout feature, which is wonderful! Thank you for adding it!

Before enabling this feature though, I wanted to check to make sure it would still work properly with a load balancer in place. We don’t want to have our load balancer IP blacklisted instead of the attacker. Are there checks in place to prevent this from happening?