Janet Parker was the last person to die of smallpox and, yes, she caught it in a lab [1].
[1]: https://whyy.org/segments/the-tragic-case-of-smallpoxs-final...