User Configuration > Administrative Templates > Microsoft Project 2016 > Project Options > Calculation > Calculation options for 'Project1'
User
HKCU\software\policies\microsoft\office\16.0\ms project\options\calculation
Specifies the number of days of slack Project uses to determine critical tasks. If you enable this setting, tasks are marked as critical if the slack is less than or equal to the value you specified. If you disable or do not configure this setting, the user's default setting is used.