You can post a check amount to multiple categories (expense accounts). However, you can only post it to one bank account.
Here's how:
Go to the New Icon (+).
Choose Check.
Select the name of the Payee.
In the Category details section, choose the specific expense category or expense account.
Enter the expense details.
Click Save and Close.
Once you've created the check, you can view the Transaction Journal. This will display the complete details of the transaction you've entered. You can read through this article for more detailed steps: How to write checks.
Also, you can browse these articles to learn more about recording transactions and mapping it to a correct expense account: