lock_grid# FdtdSession.lock_grid() → None# Lock the FDTD grid to prevent changes to the grid size and ensure consistency across simulations.