We present the results of the prompt, early and afterglow optical observations of five γ-ray bursts (GRBs): GRB 100901A, GRB 100902A, GRB 100905A, GRB 100906A and GRB 101020A. These observations were made with the Mobile Astronomical System of TElescope-Robots in Russia (MASTER-II Net), the 1.5-m telescope of the Sierra Nevada Observatory and the 2.56-m Nordic Optical Telescope. For two sources, GRB 100901A and GRB 100906A, we detected optical counterparts and obtained light curves starting before the cessation of γ-ray emission, at 113 and 48 s after the trigger, respectively. Observations of GRB 100906A were conducted in two polarizing filters. Observations of the other three bursts gave the upper limits on the optical flux; their properties are briefly discussed. A more detailed analysis of GRB 100901A and GRB 100906A, supplemented by Swift data, provides the following results and indicates different origins for the prompt optical radiation in the two bursts. The light-curve patterns and spectral distributions suggest that there is a common production site for the prompt optical and high-energy emission in GRB 100901A. The results of the spectral fits for GRB 100901A in the range from optical to X-ray favour power-law energy distributions and a consistent value of the optical extinction in the host galaxy. GRB 100906A produced a smoothly peaking optical light curve, suggesting that the prompt optical radiation in this GRB originated in a front shock. This is supported by a spectral analysis. We have found that the Amati and Ghirlanda relations are satisfied for GRB 100906A. We obtain an upper limit on the value of the optical extinction on the host of GRB 100906A.