Three criminals arrested in an encounter