First get the restraining order, & file sexual assualt charges too. Ask the judge to require the guy to stay out of the complex. The second the guy violates the order, call the cops & have him arrested. You can't get out of the lease unless you have complained to L & demanded that L deal with this guy who is interfering with your right of quiet enjoyment, & given L 30 days to comply. You can't break your lease unless L has refused to do anything about this guy after a reasonable time. You'll have to check your state landlord tenant act to see what exact procedures you must follow to exercise this right. Fail to cross 1 "T" & you're still on the hook for the rent.
------------------
This is not legal advice and you are not my client. Double check everything with your own attorney and your state's laws.