brute forcing pattern lock on samsung galaxy a3

hello i need to access my old galaxy a3 but i forgot my pattern lock pattern. im wondering if theres a way to brute force the pattern lock with an application by connecting my phone to my pc with an usb cable or any other method to get back access to my phone