With proof of work, miners have to spend a lot of computing power to find a valid block. The result, however, can be checked by anyone immediately. Anyone wanting to change the blockchain afterwards would have to repeat this work and be faster than all honest miners combined.
Bitcoin news · Bitcoin price & halving · Bitcoin for beginners · Glossary