In theory, the force a specific default lock screen policy should do what you want.

In practice, it has a lot of problems at the moment in both anniversary edition and creators edition. There are some workarounds, but none of them are great. This thread has a workaround that works for us on both anniversary and creators edition: