Hello, Welcome to Micorosoft Q&A,
Is my app allowed to interrupt user activity, prevent them from connecting peripherals, taking screenshots, etc. by changing Registry settings (authorized users)
Currently, above requirements is about low system level, we can't implement above features with pure UWP app. If you do want to implement above with UWP and publish to store, the better way is use desktop-bridge.
You can read registry values from a Win32 runFullTrust
background process launched from a UWP application, and you can write values in the HKEY_LOCAL_MACHINE hive from an "elevated" Win32 application launched from that runFullTrust process. For more detail, you could refer stefan's blog UWP with Desktop Extension.
But you need to enable runFullTrust
Restricted capability for package project. Restricted capabilities are intended for very specific scenarios. The use of these capabilities is highly restricted and subject to additional Store onboarding policy and review. Note that you can sideload apps that declare restricted capabilities without needing to receive any approval. Approval is only required when submitting these apps to the Store.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.