How to lock the view to prevent rotation of the view camera? I was wondering if it was possible to lock the view (similar to quad view), so that the view doesn't change if I accidentally bump the middle mouse button.

Is there a setting I can change or a script that can do this?
One way you might want to go about this would be to:


Align Active Camera to View with CtrlAlt + Numpad 0.
Lock Camera to View.
Select the camera and lock it's transformations.