Lawrence struck early in the second half to see Micky Mellon's side recorded a 1-0 won over their West Midlands rivals.
The goal lit up an otherwise uneventful clash and means Town will now face Preston in round two.
Mellon sprung a selection surprise before kick-off. Influential midfielder Ryan Woods returned to the side after missing the Mansfield game through suspension.
But it was in place of wing-back Jack Grimmer, who does not have permission to play in the FA Cup by parent club Fulham.
It meant Town lined up in a 4-4-2 diamond for the first time this season with Woods at the base, Lawrence and James Wesolowski in the centre and Bobby Grant at the tip.
Shrewsbury started the match brightly with right-back Jermaine Grandison playing some inviting balls forward for Jean-Louis Akpa Akpro to chase.
But it wasn't until the 20th minute that the game had its first real chance and it was Saddlers who almost took the lead.
Michael Cain broke quickly down the right and swung in a cross which Mathieu Manset headed over the bar from six yards.
Shrewsbury then went straight up the other end. Grandison did well to get to the byline and he sent in a low cross which Wesolowski brilliantly flicked into the path of James Collins who blazed horribly over.
As the clock ticked past the half hour mark Salop again came close to breaking the deadlock.
A neat pass from Grant found Wesolowski who, with his back to goal, laid the ball back to Lawrence and he narrowly fired over.
With the fourth official showing one minute of added time, a Grant corner was met by the head of Nat Knight-Percival who placed a header just over the bar.
Walsall made a flying start to the second half with Manset linking up well with Jordan Cook whose low ball crept across the danger zone.
Undeterred, Town responded with Collins brilliantly spinning his man and sending in a delicious cross which Akpa Akpro headed over.
Moments later Town finally got the goal they deserved and it was one good enough to win any game.
Collins, who was wide left, squared the ball to the central Grant, who swiftly flicked it to the on-rushing Lawrence.
Despite having time to take the ball into the box, the Town skipper lashed home a thunderbolt of a shot into the top corner.
It was a strike which the former Stoke man clearly enjoyed as he stood statuesque in the penalty area, lapping up the applause.
Walsall went in search of an immediate reply and Romaine Sawyers headed straight at Jayson Leutwiler.
With the game now feeling a bit more like a cup tie, Cain slipped in a wonderful through-ball which sent Adam Chambers in on goal but his strike was beaten away by Leutwiler.
Moments later though, the Saddlers were reduced to 10 men.
Chambers went straight through the back of Knight-Percival with a cynical challenge and referee Gavin Ward had no hesitation producing a straight red.
As the clock ticked past the 90, a quick Saddlers free-kick fooled everyone with Ben Purkiss bursting into the box and hitting a shot which was blocked with his follow up effort going over the bar.
Town saw out the remaining few minutes comfortably to earn a much deserved place in the second round.

1. c0cd5d90-bcdf-4b0e-a6cc-10f40429f40e.jpg

2. 6220d36b-2153-4e89-a033-35b49fee4383.jpg

3. 47e0a4cb-317a-4e09-b500-8d8f9a4988b6.jpg


