https://sangkrit.net/how-to-lock-user-accounts-without-deleting-the-data/
How To Lock User Accounts Without Deleting Their Data In WordPress ?