Open up any picture and go to Image>>Add Borders.
Select any color for your border and any size for your pixels. Make sure to have Symmetric checked if you want all the sides to have the same size border. If not then don’t check it.
Then click ok and you’re done!