To disable ouse and keyboard on shared agent, follow the steps below.
Log in www.dwservice.net, go to Agents
Choose the agent that you want to share, click on the three vertical dots and select New Share.
In the next screen, you can add description if you want.
Then you can choose the permission settings. Uncheck Full Access. Select Screen and Click on the wrench icon
From there you may select the permissions of your choice.
Then proceed with the sharing process as explained here.