Hello Kumar,
Try the following:
1) Create 2 new Directive Code (as you wish but say Baydoor 1 and Baydoor 2)
2) Create 2 new Work template (sales Order) for Ship from Baydoor1 and Ship from Baydoor2.
On each these work template in the work template details, for teh Put line use the corresponding Directive Code (use your own)

On Each of these work templates, on the Query in teh header, add teh Sales Order table and select the corresponding Mode of delivery (see illustration below):

3- Create 2 new Location Directives that make use of the new Directive Codes, each location directive will have Action Lines that direct the work to the Baydoor1 or Baydoor 2 locations:

4 - Test and confirm that it works as desired and adjust as necessary. Note that the work templates are looking at the Mode of Delivery on the Sales Header, so assumption is that the whole sales order (all lines) is shipped using teh same mode of delivery, If that is not the case, you can change the query on the Work Template to look for Mode of delivery at Sales Lines instead.
Good luck and Kind regards,
Danny