Hi @Wael ElKadi,
As per my knowledge, I'm afraid it is impossible to set crawl rule based on the file checked out/in. There is no such parameter for us to set in crawl rule to exclude checked out files from search results.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.