Simply drag and drop LockCameraV.asi into your GTA 5 Directory.

Requires ScriptHookV: http://www.dev-c.com/gtav/scripthookv/