How can I keep spam accounts and bots from subscribing to my store and making fraudulent orders?

What’s your question? What do you want to achieve?

How can I keep spam accounts and bots from subscribing to my store and making fraudulent orders?

Most bots use API calls to do that, there is nothing you can do on your storefront to block it.

You can only fight this post-factum – when bot places an order, you can cancel it.

Change your payment gateway to authorize-only instead of automatic capture and use free Flow app to analize your orders when they are placed.
Flow can cancel fraudulent orders or capture good ones automatically.

There are several topics on this in the community,
like Is there ANY way to auto-cancel/block the "Amazon Buy For Me" orders at checkout? The manual filtering is getting impossible
or Scammers keep placing orders to 77 greatwood lane!
and similar