Man tries to enter park with gun