Just write a note in your booking that "2nd guest [name] to check-in first". If you can't do it online, write or call the hotel and explain that your friend will arrive ahead of you and that he should be allowed to check-in despite that you are not there (yet)