I had same issue,
go to setting/accounts/access work or school
then disconnect all the accounts from work or school accountscheck whether the remove pin button still grey out or activated
go to setting/accounts/sign in option
Disable **For improved security, only allow windows hello sign in for microsoft accounts on this device.**Restart you PC
again check whether the remove pin button still grey out or activated
if not then try to restart the pc