You can safely use a 45W charger (or any other higher powered PD 2.0 charger) with the S21 Ultra. However it's maximum charge speed will be limited to 25W. Personally, using high powered fast chargers leaves the phone in a less heated state than slower chargers for a far shorter period, so I highly recommend using 25W or above charging over any other charger.