How to properly lock the screen?

Sub ScreenUpdatingOff()
	With ThisComponent
		.CurrentController.Frame.ContainerWindow.Enable = False
		If Not .isActionLocked Then .AddActionLock
		If Not .hasControllersLocked Then .lockControllers
	End With
End Sub

Sub ScreenUpdatingOn()
	With ThisComponent
		If .hasControllersLocked Then .unlockControllers
		If .isActionLocked Then .removeActionLock
		.CurrentController.Frame.ContainerWindow.Enable = True
	End With
End Sub

Is there redundancy in the code?
So far I have used two methods, lockControllers and unlockControllers, but there was no complete lock. I would like @erAck to answer this question too. Thanks.

Please don’t ping/mention me just because you think I might know an answer. Thanks.

Okay, I’ll stop.