It was a seventh game unbeaten at the New Den, but Lomas said: "There was always going to be pressure at the end.
"We like to make things difficult for ourselves. At 2-0 you think the game has been put to bed and then they get a chance straight away and then we were just hoping we could withstand the pressure and we did.
"It would have been unjust if we didn't get the three points.
"Wigan had a right go and they've got some good professional players there. We knew with their quality they would probably have quite a bit of possession but were always a danger on the counter."