To restrict simultaneous credential viewing, access PAM → Settings → Policy credentials, All the password policies created will be displayed, select the policy applied to the credential that you want to restrict simultaneous viewing and click Edit.
In the tab Settings select No in Allow simultaneous viewing? and click in Save to finish.