First, make sure you turn the Joint release latch located right behind the front wheel of the scooter.
As you turn the latch, fold your scooter and it should fold easily.
If it doesn't fold, be sure that the scooter's handlebars aren't blocking the scooter from folding fully and the alignment wheels at the bottom of the handlebars are in-line with the folding mechanism.
If your scooter is still not folding, it may be due to debris stuck at the quick release latch. To find out how to disassemble your scooter and remove the debris, visit the Quick Release Latch Guide on the Razor A2 Device Page.
Visit the Razor A2 Troubleshooting page to find any more problems with the folding mechanism.