Click on Identity Governance from the Entra ID main menu.
Click on New terms.
Fill in the details as shown below and Click Create. Once you click Create, you will be redirected to a Conditional Access policy page.
In the New Conditional Access Policy page, set the following.
Users – Set to include all users.
Ensure you exclude your admin account from the policy to avoid getting locked.