That's how it use to work once in some 4.x version (4.2 or
something).
I also miss that and I believe that has been requested in the beta, so
this might return in a enhanced version soon.
The problem with the previous implementation if I remember correctly
was that once you had a camera locked you were locked to that specific
camera but the camera it self was not really locked since you were
still able to change (thus mess) pre-existent animation data. So that
was somehow wrong since it would allow to completly mess camera
animations and imported cameras.
The current suggestion if I'm not mistaken here is to either make the
camera lock button a 3 state button where you would have camera
unlocked, camera locked (where everything is locked) and animate
trough camera where you would be able to create or change the camera
position and animation. Or add a per parameter lock swicth in Nuke
kinda like in Maya and other 3D apps where you could simple lock the
camera SRT fields to have it really locked preventing changes while
having the camera locked in the viewer.
Let's wait and see when and how that returns.
Cheers,
diogo