I think it's OK to do that as long as you're given instructions or clues you can write down to avoid having to do trial and error. In that respect it's not actually what I would call a "maze" since the intention isn't to get you lost but to block you from progressing until you have the clue you need.