In the Privacy settings, tap on 'Who can send you direct messages' and select 'No One'. This will disable direct messages for your account.