Welcome to the forums. What device do you have? Some stock launchers don't let you remove shortcuts from the dock or even no shortcuts at all (for example phones that don't include an app drawer). If this is your case you need to download a custom launcher, like Nova.