Minecraft wiki entry for Setting_up_a_LAN_world, associated text: On Bedrock Edition, LAN gameplay is on by default. The option to turn it on or off is in the multiplayer section of world settings, you cannot change this while in a world. You can change the number of slots by using /setmaxplayers (a cheat) up to 30. To change the game mode, change it in world settings.