Electromagnetic door locks in series or parallel
If it's a 12V power supply, then connect them in parallel, or use two power supplies if that's easier.

If it's a 24V DC power supply, and the locks are identical, then connect them in series.

If they are AC locks, or not identical, then connect each to their own supply.