How do you carry a laptop on a motorcycle?

There are backpacks with padded laptop compartments that would be perfect for using as a backpack while biking. Purchase a good, water-resistant pannier and rack. It’s easy to find rectangular pannier bags for paperwork, laptops, and other items. The properly closed bag contains the laptop with a suitable cover, pocket, etc.