Create or edit a user and uncheck the 'Partner edition' permission. Go to any contact. None can be created, modified or deleted.