I dont see an easy way to lock the cursor, but what would might be possible would be to disable scrolling on the secondary view with a UI mod, that way you won't mess with your maximap when you accidentaly move there