It depends on the language of your physical keyboard and that the keyboard language set in Windows settings is set to the correct language.
If you have an English keyboard, then those box brackets are produced by pressing the two keys to the right of the P key or shift + those keys.
If that does not work for you, please provide a photo of your physical keyboard..