Here are all cheat codes in Devil May Cry HD Collection.
DMC2
Achievements Allowed
On title screen input
PlayStation Controller: L3, R3, L1, R1, L2, R2, L3, R3
Xbox Controller: LS, RS, LB, RB, LT, RT, LS, RS
Achievements Allowed
Playstation Controller: HOLD L3, R3, L1, and R2 until a sound plays
Xbox Controller: Hold LS, RS, LB, RT until a sound plays
Achievements Allowed
PlayStation Controller: L1+L2+R1+R2 while selecting mission, if DMD or LMD is cleared
Xbox Controller: LB+LT+RB+RT while selecting mission, if DMD or LMD is cleared
DMC3
Achievements Blocked
PlayStation Controller: At the title screen Hold R1 + R2 + L1 + L2 + D-pad Up/Left + Left Analog-stick Down/Right. Disables Achievements as well as saving/loading until you reset the game.
Xbox Controller: At the title screen Hold RB + RT + LB + LT + D-pad Up/Left + Left Analog-stick Down/Right. Disables Achievements as well as saving/loading until you reset the game.