LAWRENCE — A Lawrence District Court officer has been charged with raping and sexually assaulting a female prisoner while she was in leg shackles.Jose Martinez, 16-year employee at the courthouse, was held on $40,000 bail Wednesday after pleading not guilty to three counts of rape and four counts of indecent assault and battery.