Magento 2 how to get all the orders with pending as status and manually update the status to cancel

Magento 2.2.10 that’s the version I am using.
Is it possible to get all the orders where the status is %pending% and manually update the order to cancel if that’s possible