Since SW is entirely fiction, the rules of real life don't necessarily apply. If we give credence to anything we've seen in the SW universe, and depending on who is wielding the lightsaber, it could block a bullet. After all, a trained Force user can detonate planets and make cosmic storms, blocking a bullet isn't so unimaginable.