n9005 phone code

hi, please what is the best safe way to remove password, screen lock of samsung mobile like n9005,… because each time i follow the steps download recovery and flash it to mobile and trying to enter recovery mode always failed inspit i used another recovery….thanks for supporting us:)