A mod that allows your character to interact with the guards, similar to how you donate gold to beggars.
Crack a joke
Offer a Sweet Roll
Offer a drink
Doing so rewards the player with a buff, where guards will ignore all crimes for a day except murder.