Where do I find a button "Lock Layers and Used Camera to Scene" in Blender 2.92.0?
Used camera is right here in scene properties:

and if you tap the filter symbol here:

and then press the arrow (selectable)

you can then tap on the collections selectable icon (to lock the layer)