Locking of screws, bolts or nuts in which the locking takes place after screwing down with a cap interacting with the nut, connected to the bolt by a pin or cotter pin