There is no balanced schedule possible for 4 weeks. If possible play the 5 weeks below.
court 1 court 2 byes
(10 9 v 8 1) (5 4 v 6 3) ( 7 2)
( 6 10 v 9 2) (1 5 v 7 4) ( 8 3)
( 7 6 v 10 3) (2 1 v 8 5) ( 9 4)
( 8 7 v 6 4) (3 2 v 9 1) (10 5)
( 9 8 v 7 5) (4 3 v 10 2) ( 6 1)
then it will be the case that everyone has the same number of games (4 games and 1 bye each). Otherwise play only the first 4 weeks.