When I began learning to solo learning that I could use the same scale in a different key really opened things up for me. All major keys have a relative minor scale that can be easily found three semitones down from the root of the scale.
Imagine you are playing in C major. You’re playing the major scale starting on the 8th fret, from the root note. If you go down three semitones from C you will find A. A Minor is the relative minor to C major. In fact they contain exactly the same notes. What gives them their own major or minor quality is the starting note. This means if you’re playing a song in C major, you can use the C major scale or an A minor scale. This works the other way too! So if you’re playing in A minor then you can also use C major.
The best thing about this is that it opens more possibilities and you’r end up using more of the neck. Here is a diagram giving you each related key – try using them in your playing.