Get-DscLocalConfigurationManager disable?

how can i disable/stop a server from checking in and applying setting?

change the LCM refresh mode to ‘applyonly’