FreeNAS/freenas ef7b320gui/api resources.py, gui/storage views.py

Donot allow locking of a pool hosting system dataset

This commit makes sure that we do not allow an encrypted pool to be locked if it hosts the system dataset.
Ticket: #83235
DeltaFile
+14-0gui/templates/freeadmin/generic_model_dialog.html
+13-0gui/api/resources.py
+13-0gui/storage/views.py
+40-03 files

UnifiedSplitRaw